/* * xfstart.idl: * SOM interface description file for the following * XWorkplace classes (in this order): * XFldStartup * and the respective metaclasses. * * See src\classes\xfstart.c for details. * * Copyright (C) 1997-2009 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 // this is SOM for WPFolder /* CLASS: XFldStartup CLASS HIERARCHY: SOMObject ÀÄÄ WPObject = XFldObject ÀÄÄ WPFileSystem ÀÄÄ WPFolder ÀÄÄ XFldStartup */ interface M_XFldStartup; // forward reference to metaclass interface XFldStartup : WPFolder { /* * New instance methods for XFldStartup: * */ ULONG xwpAddXFldStartupPage(in HWND hwndDlg); ULONG xwpSetXStartup(in BOOL fInsert); ULONG xwpQueryXStartupType(); ULONG xwpQueryXStartupObjectDelay(); ULONG xwpQueryXStartupShowStatus(); #ifdef __SOMIDL__ implementation { releaseorder: xwpAddXFldStartupPage, xwpSetXStartup, xwpQueryXStartupType, xwpQueryXStartupObjectDelay, xwpQueryXStartupShowStatus; /* * 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; BOOL fShowStatus; /* * XFolder methods overridden by XFldStartup: * */ wpInitData: override; wpObjectReady: override; wpFree: override; wpSaveState: override; wpRestoreState: override; wpFilterPopupMenu: override; wpModifyPopupMenu: override; wpMenuItemSelected: override; wpMenuItemHelpSelected: override; wpAddSettingsPages: override; #ifdef __PRIVATE__ #endif }; // implementation #endif /* __SOMIDL__ */ }; //# //# //# Now define Metaclass. //# --------------------- //# interface M_XFldStartup : M_WPFolder { /* * New class methods for M_XFldStartup: * */ XFldStartup xwpclsQueryXStartupFolder(in XFldStartup pFolder); BOOL xwpclsRunXStartupFolders(); #ifdef __SOMIDL__ implementation { releaseorder: xwpclsQueryXStartupFolder, xwpclsRunXStartupFolders; /* * 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__ */ };