summaryrefslogtreecommitdiff
path: root/include/compiz.h
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2008-08-20 15:40:15 +0200
committerDennis kasprzyk <onestone@opencompositing.org>2008-08-20 15:40:15 +0200
commit682b0c5129f0fd88d259ca6f30e8ed469dc9a162 (patch)
tree21a1850a82b4191387dd4908299f09a2730b74ee /include/compiz.h
parentf4d3ba5048fd23ea455f8d50a81fca586bbc6197 (diff)
downloadcompiz-core-doc-682b0c5129f0fd88d259ca6f30e8ed469dc9a162.tar.gz
compiz-core-doc-682b0c5129f0fd88d259ca6f30e8ed469dc9a162.tar.bz2
C++ port of CompMetadata.
Diffstat (limited to 'include/compiz.h')
-rw-r--r--include/compiz.h37
1 files changed, 1 insertions, 36 deletions
diff --git a/include/compiz.h b/include/compiz.h
index ec212da..9e033d3 100644
--- a/include/compiz.h
+++ b/include/compiz.h
@@ -26,8 +26,6 @@
#ifndef _COMPIZ_H
#define _COMPIZ_H
-#include <libxml/parser.h>
-
#include <compiz-common.h>
#include <string>
@@ -41,7 +39,6 @@ typedef int CompBool;
typedef int CompTimeoutHandle;
typedef int CompWatchFdHandle;
-typedef struct _CompMetadata CompMetadata;
typedef struct _CompPlugin CompPlugin;
@@ -51,6 +48,7 @@ class CompScreen;
class CompWindow;
class CompObject;
class CompOption;
+class CompMetadata;
typedef union _CompPrivate {
void *ptr;
@@ -72,39 +70,6 @@ typedef enum {
-CompBool
-compInitMetadata (CompMetadata *metadata);
-
-CompBool
-compInitPluginMetadata (CompMetadata *metadata,
- const char *plugin);
-
-void
-compFiniMetadata (CompMetadata *metadata);
-
-CompBool
-compAddMetadataFromFile (CompMetadata *metadata,
- const char *file);
-
-CompBool
-compAddMetadataFromString (CompMetadata *metadata,
- const char *string);
-
-CompBool
-compAddMetadataFromIO (CompMetadata *metadata,
- xmlInputReadCallback ioread,
- xmlInputCloseCallback ioclose,
- void *ioctx);
-
-char *
-compGetStringFromMetadataPath (CompMetadata *metadata,
- const char *path);
-
-int
-compReadXmlChunk (const char *src,
- int *offset,
- char *buffer,
- int length);