[commit] r1483 - branches/Breaking_COM_Changes/GME/Interfaces

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Mon Aug 29 14:56:05 CDT 2011


Author: ksmyth
Date: Mon Aug 29 14:56:04 2011
New Revision: 1483

Log:
only enums show up in the real typelib

Modified:
   branches/Breaking_COM_Changes/GME/Interfaces/Gme.idl

Modified: branches/Breaking_COM_Changes/GME/Interfaces/Gme.idl
==============================================================================
--- branches/Breaking_COM_Changes/GME/Interfaces/Gme.idl	Mon Aug 29 14:54:01 2011	(r1482)
+++ branches/Breaking_COM_Changes/GME/Interfaces/Gme.idl	Mon Aug 29 14:56:04 2011	(r1483)
@@ -399,15 +399,16 @@
 } decorator_error;
 
 // Feature codes
-typedef unsigned long feature_code;
-const unsigned long F_RESIZABLE	= 1<<0;
-const unsigned long	F_MOUSEEVENTS =	1<<1;
-const unsigned long	F_HASLABEL =	1<<2;
-const unsigned long	F_HASSTATE = 1<<3;
-const unsigned long	F_HASPORTS = 1<<4;
-const unsigned long	F_ANIMATION = 1<<5;
-const unsigned long	F_IMGPATH = 1<<6;
-const unsigned long	F_RESIZEAFTERMOD = 1<<7;
+enum decorator_feature_code {
+	F_RESIZABLE = 1<<0,
+	F_MOUSEEVENTS = 1<<1,
+	F_HASLABEL = 1<<2,
+	F_HASSTATE = 1<<3,
+	F_HASPORTS = 1<<4,
+	F_ANIMATION = 1<<5,
+	F_IMGPATH = 1<<6,
+	F_RESIZEAFTERMOD = 1<<7,
+};
 
 // Refresh modes
 typedef enum  refresh_mode_enum {


More information about the gme-commit mailing list