xref: /haiku/src/add-ons/media/media-add-ons/usb_webcam/CamDebug.h (revision a1830cbd577f57e8c92e5fea206d5dbf777a67a0)
1*a1830cbdSFrançois Revol /*
2*a1830cbdSFrançois Revol  * Copyright 2004-2008, François Revol, <revol@free.fr>.
3*a1830cbdSFrançois Revol  * Distributed under the terms of the MIT License.
4*a1830cbdSFrançois Revol  */
52c9bd703SFrançois Revol #ifndef _CAM_DEBUG_H
62c9bd703SFrançois Revol #define _CAM_DEBUG_H
72c9bd703SFrançois Revol 
82c9bd703SFrançois Revol #include <Debug.h>
92c9bd703SFrançois Revol 
102c9bd703SFrançois Revol /* allow overriding ANSI color */
112c9bd703SFrançois Revol #ifndef CD_COL
122c9bd703SFrançois Revol #define CD_COL "34"
132c9bd703SFrançois Revol #endif
142c9bd703SFrançois Revol 
152c9bd703SFrançois Revol #define CH "\033[" CD_COL "mWebcam::%s::%s"
16c589dbfcSFrançois Revol #define CT "\033[0m\n", __BASE_FILE__, __FUNCTION__
172c9bd703SFrançois Revol 
182c9bd703SFrançois Revol #endif
19