summaryrefslogtreecommitdiff
path: root/include/compiz.h
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2008-08-06 14:39:07 +0200
committerDennis Kasprzyk <onestone@opencompositing.org>2008-08-06 14:39:07 +0200
commit9c76f36894f1f825aa01f519e2b364b979c32a26 (patch)
treeeec49bb1794ee6570acb47a30a9ddc695198e57e /include/compiz.h
parent0e942665257980878d6271cbcad4647d04204093 (diff)
downloadcompiz-core-doc-9c76f36894f1f825aa01f519e2b364b979c32a26.tar.gz
compiz-core-doc-9c76f36894f1f825aa01f519e2b364b979c32a26.tar.bz2
Conversion ob main classes to C++.
Diffstat (limited to 'include/compiz.h')
-rw-r--r--include/compiz.h35
1 files changed, 8 insertions, 27 deletions
diff --git a/include/compiz.h b/include/compiz.h
index cc73797..ca50395 100644
--- a/include/compiz.h
+++ b/include/compiz.h
@@ -38,16 +38,18 @@ typedef int CompWatchFdHandle;
typedef union _CompOptionValue CompOptionValue;
-typedef struct _CompObject CompObject;
-typedef struct _CompCore CompCore;
-typedef struct _CompDisplay CompDisplay;
typedef struct _CompMetadata CompMetadata;
typedef struct _CompOption CompOption;
typedef struct _CompPlugin CompPlugin;
-typedef struct _CompScreen CompScreen;
-typedef struct _CompWindow CompWindow;
-typedef CompBool (*CallBackProc) (void *closure);
+
+class CompCore;
+class CompDisplay;
+class CompScreen;
+class CompWindow;
+class CompObject;
+
+typedef bool (*CallBackProc) (void *closure);
typedef enum {
CompOptionTypeBool,
@@ -119,27 +121,6 @@ CompBool
compSetOption (CompOption *option,
CompOptionValue *value);
-CompTimeoutHandle
-compAddTimeout (int minTime,
- int maxTime,
- CallBackProc callBack,
- void *closure);
-
-void *
-compRemoveTimeout (CompTimeoutHandle handle);
-
-CompWatchFdHandle
-compAddWatchFd (int fd,
- short int events,
- CallBackProc callBack,
- void *closure);
-
-void
-compRemoveWatchFd (CompWatchFdHandle handle);
-
-short int
-compWatchFdEvents (CompWatchFdHandle handle);
-
CompBool
compInitMetadata (CompMetadata *metadata);