[GME-commit]
GMESRC/GME/Interfaces InterfaceVersion.h,1.54,1.55 Gme.idl,1.15,1.16
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Wed Jan 12 11:54:16 CST 2005
- Previous message: [GME-commit]
GMESRC/GME/GMEActiveBrowser TreeCtrlEx.cpp,1.3,1.4 MgaMap.h,1.1,1.2
MgaMap.cpp,1.1,1.2 GMEActiveBrowserCtl.h,1.5,1.6
GMEActiveBrowserCtl.cpp,1.11,1.12 GMEActiveBrowser.odl,1.4,1.5
ActiveBrowserPropertyPage.h,1.10,1.11
ActiveBrowserPropertyPage.cpp,1.37,1.38
- Next message: [GME-commit]
GMESRC/GME/ConstraintManager ConstraintMgr.cpp,1.18,1.19
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/gme/GMESRC/GME/Interfaces
In directory braindrain:/tmp/cvs-serv29463
Modified Files:
InterfaceVersion.h Gme.idl
Log Message:
Extended interface for scripting
CVS User: bogyom
Index: InterfaceVersion.h
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/Interfaces/InterfaceVersion.h,v
retrieving revision 1.54
retrieving revision 1.55
diff -C2 -d -r1.54 -r1.55
*** InterfaceVersion.h 2 Dec 2004 22:30:59 -0000 1.54
--- InterfaceVersion.h 12 Jan 2005 17:54:14 -0000 1.55
***************
*** 8,12 ****
// CHECKSUM MgaUtil.idl = 1FE2ACEC
// CHECKSUM MgaDecorator.idl = E2851BB1
! // CHECKSUM Gme.idl = E6F42777
// CHECKSUM Parser.idl = BE7EFA2E
--- 8,12 ----
// CHECKSUM MgaUtil.idl = 1FE2ACEC
// CHECKSUM MgaDecorator.idl = E2851BB1
! // CHECKSUM Gme.idl = C9CA6ADE
// CHECKSUM Parser.idl = BE7EFA2E
***************
*** 18,22 ****
// -- never decrease it
cpp_quote("#ifndef INTERFACE_VERSION")
! cpp_quote("#define INTERFACE_VERSION 0x0002005A")
cpp_quote("#endif //INTERFACE_VERSION")
! #define INTERFACE_VERSION 0x0002005A
--- 18,22 ----
// -- never decrease it
cpp_quote("#ifndef INTERFACE_VERSION")
! cpp_quote("#define INTERFACE_VERSION 0x00020068")
cpp_quote("#endif //INTERFACE_VERSION")
! #define INTERFACE_VERSION 0x00020068
Index: Gme.idl
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/Interfaces/Gme.idl,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** Gme.idl 24 Jul 2004 06:41:53 -0000 1.15
--- Gme.idl 12 Jan 2005 17:54:14 -0000 1.16
***************
*** 27,30 ****
--- 27,59 ----
} msgtype_enum;
+ typedef enum editmode_enum {
+ MODE_EDIT = 0,
+ MODE_CONNECT = 1,
+ MODE_DISCONNECT = 2,
+ MODE_SET =3,
+ MODE_ZOOM =4,
+ MODE_VISUALIZE =5
+ } editmode_enum;
+
+ typedef enum bar_enum {
+ BAR_HORIZ = 0,
+ BAR_VERTI = 1
+ } bar_enum;
+
+ typedef enum scroll_enum {
+ SCROL_UP = 0,
+ SCROL_DOWN = 1,
+ SCROL_PGUP = 2,
+ SCROL_PGDN = 3,
+ SCROL_HOME = 4,
+ SCROL_END = 5
+ } scroll_enum;
+
+ typedef enum attribpanel_page {
+ PAGE_ATTRIB = 0,
+ PAGE_PREF = 1,
+ PAGE_PROP = 2
+ } attribpanel_page;
+
// --------------------------- Gme IDL
***************
*** 90,97 ****
[id(31)] HRESULT ShowHelpContents();
[id(32)] HRESULT ShowAbout();
! [id(33)] HRESULT ShowFCO([in] IMgaFCO* mgaFCO);
[id(34)] HRESULT ConsoleMessage([in] BSTR msg, [in]msgtype_enum type);
[id(35)] HRESULT ConsoleClear();
!
};
--- 119,130 ----
[id(31)] HRESULT ShowHelpContents();
[id(32)] HRESULT ShowAbout();
! [id(33)] HRESULT ShowFCO([in] IMgaFCO* mgaFCO, [in, defaultvalue(0)] VARIANT_BOOL inParent);
[id(34)] HRESULT ConsoleMessage([in] BSTR msg, [in]msgtype_enum type);
[id(35)] HRESULT ConsoleClear();
!
! [id(36), helpstring("method ChangeEditmode")] HRESULT ChangeEditmode([in] editmode_enum mode);
! [id(37), helpstring("method GridShow")] HRESULT GridShow([in] VARIANT_BOOL show);
! [id(38), helpstring("method AttributepanelPage")] HRESULT AttributepanelPage([in] attribpanel_page page);
!
};
***************
*** 103,107 ****
dual
]
! interface IGMEOLEModel : IDispatch
{
// properties:
--- 136,140 ----
dual
]
! interface IGMEOLEModel : IDispatch // actually it corresponds to a view
{
// properties:
***************
*** 121,125 ****
[id(11)] HRESULT Close();
[id(12)] HRESULT GrayOutFCO([in] VARIANT_BOOL bGray, [in] VARIANT_BOOL bNeighbours, [in] IMgaFCOs* mgaFCO);
! [id(13)] HRESULT GrayOutAll([in] VARIANT_BOOL bGray);
};
--- 154,164 ----
[id(11)] HRESULT Close();
[id(12)] HRESULT GrayOutFCO([in] VARIANT_BOOL bGray, [in] VARIANT_BOOL bNeighbours, [in] IMgaFCOs* mgaFCO);
! [id(13)] HRESULT GrayOutHide();
! [id(14)] HRESULT ShowSetMembers([in] IMgaFCO* mgaFCO); // set is in this open model
! [id(15)] HRESULT HideSetMembers();
! [id(16)] HRESULT Zoom([in] DWORD percent); // for open models only
! [id(17)] HRESULT ZoomTo([in] IMgaFCOs* mgaFCOs); // for open models only
! [id(18)] HRESULT Scroll([in] bar_enum, [in] scroll_enum); // for opened models only
!
};
***************
*** 155,158 ****
--- 194,198 ----
[propput, id(2)] HRESULT Visible([in] VARIANT_BOOL isVisible);
[propget, id(2)] HRESULT Visible([out, retval] VARIANT_BOOL* isVisible);
+ [propget, id(3)] HRESULT Interface([out, retval] IDispatch** interf);
// methods:
- Previous message: [GME-commit]
GMESRC/GME/GMEActiveBrowser TreeCtrlEx.cpp,1.3,1.4 MgaMap.h,1.1,1.2
MgaMap.cpp,1.1,1.2 GMEActiveBrowserCtl.h,1.5,1.6
GMEActiveBrowserCtl.cpp,1.11,1.12 GMEActiveBrowser.odl,1.4,1.5
ActiveBrowserPropertyPage.h,1.10,1.11
ActiveBrowserPropertyPage.cpp,1.37,1.38
- Next message: [GME-commit]
GMESRC/GME/ConstraintManager ConstraintMgr.cpp,1.18,1.19
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the GME-commit
mailing list