diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-29 23:31:45 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-29 23:31:45 -0600 |
commit | bcd8b9bb109e7bbaab3ee46a96fb83d400ae0ea6 (patch) | |
tree | 0296a0267e6e7d3308fb510ffbd307f0135d1287 /tderandr | |
parent | ca26eb5709d1fd76f263b2c82adfc8bcaafd9086 (diff) | |
download | tdelibs-bcd8b9bb109e7bbaab3ee46a96fb83d400ae0ea6.tar.gz tdelibs-bcd8b9bb109e7bbaab3ee46a96fb83d400ae0ea6.zip |
Rename a few build variables for overall consistency
Diffstat (limited to 'tderandr')
-rw-r--r-- | tderandr/libtderandr.h | 44 | ||||
-rw-r--r-- | tderandr/randr.h | 4 |
2 files changed, 24 insertions, 24 deletions
diff --git a/tderandr/libtderandr.h b/tderandr/libtderandr.h index d597999d8..0e07ad96e 100644 --- a/tderandr/libtderandr.h +++ b/tderandr/libtderandr.h @@ -21,8 +21,8 @@ Send comments and bug fixes to Timothy Pearson <kb9vqf@pearsoncomputing.net> ***************************************************************************/ -#ifndef _LIBKRANDR_H -#define _LIBKRANDR_H +#ifndef _LIBTDERANDR_H +#define _LIBTDERANDR_H #include "randr.h" #include "lowlevel_randr.h" @@ -50,7 +50,7 @@ * @version 0.9.5 27/04/2010 * @author Timothy Pearson <kb9vqf@pearsoncomputing.net> */ -class KRANDR_EXPORT KRandrSimpleAPI : public RandRDisplay +class TDERANDR_EXPORT KRandrSimpleAPI : public RandRDisplay { private: @@ -326,27 +326,27 @@ class KRANDR_EXPORT KRandrSimpleAPI : public RandRDisplay extern "C" { #else -#define KRANDR_EXPORT +#define TDERANDR_EXPORT #endif -// KRANDR_EXPORT ScreenInfo* read_screen_info(Display *); -// KRANDR_EXPORT int set_screen_size (ScreenInfo *screen_info); -// KRANDR_EXPORT void output_auto (ScreenInfo *screen_info, OutputInfo *output_info); -// KRANDR_EXPORT void output_off(ScreenInfo *screen_info, OutputInfo *output); -// KRANDR_EXPORT CrtcInfo* auto_find_crtc (ScreenInfo *screen_info, OutputInfo *output_info); -// KRANDR_EXPORT XRRModeInfo *find_mode_by_xid (ScreenInfo *screen_info, RRMode mode_id); -// KRANDR_EXPORT int mode_height (XRRModeInfo *mode_info, Rotation rotation); -// KRANDR_EXPORT int mode_width (XRRModeInfo *mode_info, Rotation rotation); -// KRANDR_EXPORT int get_width_by_output_id (ScreenInfo *screen_info, RROutput output_id); -// KRANDR_EXPORT int get_height_by_output_id (ScreenInfo *screen_info, RROutput output_id); -// KRANDR_EXPORT char *get_output_name (ScreenInfo *screen_info, RROutput id); -// KRANDR_EXPORT Status crtc_apply (CrtcInfo *crtc_info); -// KRANDR_EXPORT Status crtc_disable (CrtcInfo *crtc); -// KRANDR_EXPORT int main_low_apply (ScreenInfo *screen_info); -// KRANDR_EXPORT bool kRandrHasRandr(); - -KRANDR_EXPORT const char *kRandrVersion(void); -KRANDR_EXPORT const char *kRandrCopyright(void); +// TDERANDR_EXPORT ScreenInfo* read_screen_info(Display *); +// TDERANDR_EXPORT int set_screen_size (ScreenInfo *screen_info); +// TDERANDR_EXPORT void output_auto (ScreenInfo *screen_info, OutputInfo *output_info); +// TDERANDR_EXPORT void output_off(ScreenInfo *screen_info, OutputInfo *output); +// TDERANDR_EXPORT CrtcInfo* auto_find_crtc (ScreenInfo *screen_info, OutputInfo *output_info); +// TDERANDR_EXPORT XRRModeInfo *find_mode_by_xid (ScreenInfo *screen_info, RRMode mode_id); +// TDERANDR_EXPORT int mode_height (XRRModeInfo *mode_info, Rotation rotation); +// TDERANDR_EXPORT int mode_width (XRRModeInfo *mode_info, Rotation rotation); +// TDERANDR_EXPORT int get_width_by_output_id (ScreenInfo *screen_info, RROutput output_id); +// TDERANDR_EXPORT int get_height_by_output_id (ScreenInfo *screen_info, RROutput output_id); +// TDERANDR_EXPORT char *get_output_name (ScreenInfo *screen_info, RROutput id); +// TDERANDR_EXPORT Status crtc_apply (CrtcInfo *crtc_info); +// TDERANDR_EXPORT Status crtc_disable (CrtcInfo *crtc); +// TDERANDR_EXPORT int main_low_apply (ScreenInfo *screen_info); +// TDERANDR_EXPORT bool kRandrHasRandr(); + +TDERANDR_EXPORT const char *kRandrVersion(void); +TDERANDR_EXPORT const char *kRandrCopyright(void); #ifdef __cplusplus diff --git a/tderandr/randr.h b/tderandr/randr.h index eb77b03aa..9683f6b9b 100644 --- a/tderandr/randr.h +++ b/tderandr/randr.h @@ -29,7 +29,7 @@ class KTimerDialog; class RandRScreenPrivate; -class KRANDR_EXPORT HotPlugRule { +class TDERANDR_EXPORT HotPlugRule { public: enum states { AnyState = 0, @@ -49,7 +49,7 @@ class KRANDR_EXPORT HotPlugRule { typedef TQValueList< HotPlugRule > HotPlugRulesList; -class KRANDR_EXPORT SingleScreenData { +class TDERANDR_EXPORT SingleScreenData { public: SingleScreenData(); virtual ~SingleScreenData(); |