home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
xwplascr.zip
/
XWPL0208.ZIP
/
idl
/
xfstart.idl
< prev
next >
Wrap
Text File
|
2002-07-15
|
7KB
|
303 lines
/*
* xfstart.idl:
* SOM interface description file for the following
* XWorkplace classes (in this order):
* XFldStartup
* XFldShutdown
* and the respective metaclasses.
*
* See src\classes\xfstart.c for details.
*
* Copyright (C) 1997-2002 Ulrich Möller.
* This file is part of the XWorkplace source package.
* XWorkplace is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
* by the Free Software Foundation, in version 2 as it comes in the
* "COPYING" file of the XWorkplace main distribution.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <xfldr.idl> // this is SOM for XFolder
/*
CLASS: XFldStartup
CLASS HIERARCHY:
SOMObject
└── WPObject = XFldObject
└── WPFileSystem
└── WPFolder = XFolder
└── XFldStartup
Note that the class is derived from XFolder directly, not
WPFolder, because we need some of the new XFolder methods.
*/
interface M_XFldStartup; // forward reference to metaclass
interface XFldStartup : XFolder
{
/*
* New instance methods for XFldStartup:
*
*/
ULONG xwpAddXFldStartupPage(in HWND hwndDlg);
ULONG xwpSetXStartup(in BOOL fInsert);
ULONG xwpQueryXStartupType();
ULONG xwpQueryXStartupObjectDelay();
#ifdef __SOMIDL__
implementation {
releaseorder:
xwpAddXFldStartupPage,
xwpSetXStartup,
xwpQueryXStartupType,
xwpQueryXStartupObjectDelay;
/*
* Class Modifiers:
*
*/
externalprefix = xfstup_;
externalstem = xfstup;
majorversion = 1;
minorversion = 1;
filestem = xfstart; //# specifies the filestem for sc-generated files
metaclass = M_XFldStartup;
dllname = "xfldr.dll";
callstyle = oidl; //# forget CORBA stuff (*ev and such)
passthru C_h =
"#define XSTARTUP_NONE 0"
"#define XSTARTUP_REBOOTSONLY 1"
"#define XSTARTUP_EVERYWPSRESTART 2"
""
"#define XSTARTUP_DEFAULTOBJECTDELAY 1000";
/*
* Internal instance variables for XFldStartup:
*
*/
ULONG ulType;
ULONG ulObjectDelay;
/*
* XFolder methods overridden by XFldStartup:
*
*/
wpInitData: override;
wpObjectReady: override;
wpFree: override;
wpSaveState: override;
wpRestoreState: override;
wpFilterPopupMenu: override;
wpModifyPopupMenu: override;
wpMenuItemSelected: override;
wpMenuItemHelpSelected: override;
//# wpQueryDefaultHelp: override; replaced with class method V0.9.20 (2002-07-12) [umoeller]
wpAddSettingsPages: override;
#ifdef __PRIVATE__
#endif
}; // implementation
#endif /* __SOMIDL__ */
};
//#
//#
//# Now define Metaclass.
//# ---------------------
//#
interface M_XFldStartup : M_XFolder
{
/*
* New class methods for M_XFldStartup:
*
*/
XFldStartup xwpclsQueryXStartupFolder(in XFldStartup pFolder);
#ifdef __SOMIDL__
implementation {
releaseorder:
xwpclsQueryXStartupFolder;
/*
* Class Modifiers:
*
*/
externalprefix = xfstupM_;
externalstem = xfstupM;
functionprefix = xfstupM_;
majorversion = 1;
minorversion = 1;
filestem = xfstart; //# specifies the filestem for sc-generated files
dllname = "xfldr.dll";
callstyle = oidl;
/*
* Internal instance variables for M_XFldStartup:
*
*/
/*
* M_XFolder methods overridden by M_XFldStartup:
*
*/
wpclsInitData: override;
wpclsQueryTitle: override;
wpclsQueryStyle: override;
wpclsQueryDefaultHelp: override;
wpclsQueryIconData: override;
wpclsQueryIconDataN: override;
};
#endif /* __SOMIDL__ */
};
/*
CLASS: XFldShutdown
CLASS HIERARCHY:
SOMObject
└── WPObject = XFldObject
└── WPFileSystem
└── WPFolder = XFolder
└── XFldStartup
Note that the class is derived from XFolder directly, not
WPFolder, because we need some of the new XFolder methods.
*/
interface M_XFldShutdown; // forward reference to metaclass
interface XFldShutdown : XFolder
{
/*
* New instance methods for XFldShutdown:
*
*/
#ifdef __SOMIDL__
implementation {
/*
* Class Modifiers:
*
*/
externalprefix = xfshut_;
externalstem = xfshut;
majorversion = 1;
minorversion = 1;
filestem = xfstart; //# specifies the filestem for sc-generated files
metaclass = M_XFldShutdown;
dllname = "xfldr.dll";
callstyle = oidl; //# forget CORBA stuff (*ev and such)
/*
* Internal instance variables for XFldShutdown:
*
*/
/*
* The following is forced into the .H file:
*
*/
/*
* XFolder methods overridden by XFldShutdown:
*
*/
//# wpQueryDefaultHelp: override; replaced with class method V0.9.20 (2002-07-12) [umoeller]
#ifdef __PRIVATE__
#endif
}; // implementation
#endif /* __SOMIDL__ */
};
//#
//#
//# Now define Metaclass.
//# ---------------------
//#
interface M_XFldShutdown : M_XFolder
{
/*
* New class methods for M_XFldShutdown:
*
*/
#ifdef __SOMIDL__
implementation {
/*
* Class Modifiers:
*
*/
externalprefix = xfshutM_;
externalstem = xfshutM;
functionprefix = xfshutM_;
majorversion = 1;
minorversion = 1;
filestem = xfstart; //# specifies the filestem for sc-generated files
dllname = "xfldr.dll";
callstyle = oidl;
/*
* Internal instance variables for M_XFldShutdown:
*
*/
/*
* M_XFolder methods overridden by M_XFldShutdown:
*
*/
wpclsInitData: override;
wpclsQueryTitle: override;
wpclsQueryStyle: override;
wpclsQueryDefaultHelp: override;
wpclsQueryIconData: override;
wpclsQueryIconDataN: override;
};
#endif /* __SOMIDL__ */
};