summaryrefslogtreecommitdiff
path: root/legacy/emotion/src
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-03-17 04:17:29 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-03-17 04:17:29 +0000
commit63ed6ac02f01b5237f3872c82dbc54cdb3f69e7a (patch)
treedf99a7d35f5f6e1df3d5c194b62a7d91fca7dc93 /legacy/emotion/src
parentd350177475eee9c19ad41036fe3a9f21a938b1e7 (diff)
gear up svn for release. one of many steps/things to do.
SVN revision: 69481
Diffstat (limited to 'legacy/emotion/src')
-rw-r--r--legacy/emotion/src/lib/Emotion.h13
-rw-r--r--legacy/emotion/src/lib/emotion_main.c3
2 files changed, 16 insertions, 0 deletions
diff --git a/legacy/emotion/src/lib/Emotion.h b/legacy/emotion/src/lib/Emotion.h
index e7e214fac0..2a624dc4bc 100644
--- a/legacy/emotion/src/lib/Emotion.h
+++ b/legacy/emotion/src/lib/Emotion.h
@@ -243,6 +243,19 @@ typedef enum _Emotion_Aspect Emotion_Aspect; /**< Aspect ratio option. */
243extern "C" { 243extern "C" {
244#endif 244#endif
245 245
246#define EMOTION_VERSION_MAJOR 1
247#define EMOTION_VERSION_MINOR 0
248
249 typedef struct _Emotion_Version
250 {
251 int major;
252 int minor;
253 int micro;
254 int revision;
255 } Emotion_Version;
256
257 EAPI extern Emotion_Version *emotion_version;
258
246/* api calls available */ 259/* api calls available */
247 260
248/** 261/**
diff --git a/legacy/emotion/src/lib/emotion_main.c b/legacy/emotion/src/lib/emotion_main.c
index 81809474fc..7fd93e8f6c 100644
--- a/legacy/emotion/src/lib/emotion_main.c
+++ b/legacy/emotion/src/lib/emotion_main.c
@@ -22,6 +22,9 @@
22#include "Emotion.h" 22#include "Emotion.h"
23#include "emotion_private.h" 23#include "emotion_private.h"
24 24
25static Emotion_Version _version = { VMAJ, VMIN, VMIC, VREV };
26EAPI Emotion_Version *emotion_version = &_version;
27
25EAPI int EMOTION_WEBCAM_UPDATE = 0; 28EAPI int EMOTION_WEBCAM_UPDATE = 0;
26 29
27struct ext_match_s 30struct ext_match_s