Changeset 206 for trunk/desktop/class_c
- Timestamp:
- Jan 20, 2007, 11:16:33 PM (19 years ago)
- Location:
- trunk/desktop/class_c
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/desktop/class_c/m_wpdatafile.c
r200 r206 35 35 * And remember, phase 3 is near... 36 36 */ 37 #ifndef NOM_M_WPDataFile_IMPLEMENTATION_FILE 38 #define NOM_M_WPDataFile_IMPLEMENTATION_FILE 39 #endif 40 37 41 #define INCL_DOS 38 42 #include <os2.h> … … 50 54 51 55 /* orbit-idl-c-stubs.c, cs_output_stub line 347 */ 52 NOM_Scope PNOMString NOMLINK impl_M_WPDataFile_wpclsQueryTitle(M_WPDataFile* nomSelf, CORBA_Environment *ev)56 NOM_Scope CORBA_string NOMLINK impl_M_WPDataFile_wpclsQueryTitle(M_WPDataFile* nomSelf, CORBA_Environment *ev) 53 57 { 54 58 M_WPDataFileData* nomThis=M_WPDataFileGetData(nomSelf); … … 56 60 if(!_nomStringTitle) 57 61 { 58 _nomStringTitle=NOMStringNew(); 59 NOMString_assignCString(_nomStringTitle, "Data file ", NULLHANDLE); 62 _nomStringTitle="Data file "; 60 63 } 61 64 -
trunk/desktop/class_c/m_wpfilesystem.c
r200 r206 35 35 * And remember, phase 3 is near... 36 36 */ 37 #ifndef NOM_M_WPFileSystem_IMPLEMENTATION_FILE 38 #define NOM_M_WPFileSystem_IMPLEMENTATION_FILE 39 #endif 40 37 41 #define INCL_DOS 38 42 #include <os2.h> … … 48 52 #include "m_wpfilesystem.ih" 49 53 54 NOM_Scope CORBA_string NOMLINK impl_M_WPFileSystem_wpclsQueryInstanceFilter(M_WPFileSystem* nomSelf, 55 CORBA_Environment *ev) 56 { 57 /* M_WPFileSystemData* nomThis=M_WPFileSystemGetData(nomSelf); */ 58 59 return NULL; 60 } 50 61 51 62 /* orbit-idl-c-stubs.c, cs_output_stub line 347 */ 52 NOM_Scope PNOMString NOMLINK impl_M_WPFileSystem_wpclsQueryTitle(M_WPFileSystem* nomSelf, CORBA_Environment *ev)63 NOM_Scope CORBA_string NOMLINK impl_M_WPFileSystem_wpclsQueryTitle(M_WPFileSystem* nomSelf, CORBA_Environment *ev) 53 64 { 54 65 M_WPFileSystemData* nomThis=M_WPFileSystemGetData(nomSelf); … … 56 67 if(!_nomStringTitle) 57 68 { 58 _nomStringTitle=NOMStringNew(); 59 NOMString_assignCString(_nomStringTitle, "File system", NULLHANDLE); 69 _nomStringTitle="FileSystem"; 60 70 } 61 71 -
trunk/desktop/class_c/m_wpfolder.c
r200 r206 35 35 * And remember, phase 3 is near... 36 36 */ 37 #ifndef NOM_M_WPFolder_IMPLEMENTATION_FILE 38 #define NOM_M_WPFolder_IMPLEMENTATION_FILE 39 #endif 40 37 41 #define INCL_DOS 38 42 #include <os2.h> … … 75 79 76 80 /* orbit-idl-c-stubs.c, cs_output_stub line 347 */ 77 NOM_Scope PNOMString NOMLINK impl_M_WPFolder_wpclsQueryTitle(M_WPFolder* nomSelf, CORBA_Environment *ev)81 NOM_Scope CORBA_string NOMLINK impl_M_WPFolder_wpclsQueryTitle(M_WPFolder* nomSelf, CORBA_Environment *ev) 78 82 { 79 83 M_WPFolderData* nomThis=M_WPFolderGetData(nomSelf); … … 81 85 if(!_nomStringTitle) 82 86 { 83 _nomStringTitle=NOMStringNew(); 84 NOMString_assignCString(_nomStringTitle, "Data file ", NULLHANDLE); 87 _nomStringTitle="Folder"; 85 88 } 86 89 -
trunk/desktop/class_c/m_wpobject.c
r200 r206 35 35 * And remember, phase 3 is near... 36 36 */ 37 #ifndef NOM_M_WPObject_IMPLEMENTATION_FILE 38 #define NOM_M_WPObject_IMPLEMENTATION_FILE 39 #endif 40 37 41 #define INCL_DOS 38 42 #include <os2.h> … … 57 61 } 58 62 59 NOM_Scope PNOMString NOMLINK impl_M_WPObject_wpclsQueryTitle(M_WPObject* nomSelf, CORBA_Environment *ev)63 NOM_Scope CORBA_string NOMLINK impl_M_WPObject_wpclsQueryTitle(M_WPObject* nomSelf, CORBA_Environment *ev) 60 64 { 61 65 M_WPObjectData* nomThis=M_WPObjectGetData(nomSelf); … … 87 91 gchar *gchrIconName=NULLHANDLE; 88 92 89 _nomStringTitle=NOMStringNew(); 90 NOMString_assignCString(_nomStringTitle, "Object", NULLHANDLE); 93 _nomStringTitle="Object"; 91 94 92 95 /* Load default wpObject icon */ -
trunk/desktop/class_c/wpclassmanager.c
r166 r206 38 38 * And remember, phase 3 is near... 39 39 */ 40 #ifndef NOM_WPClassMgr_IMPLEMENTATION_FILE 41 #define NOM_WPClassMgr_IMPLEMENTATION_FILE 42 #endif 40 43 41 44 #define INCL_DOS -
trunk/desktop/class_c/wpdatafile.c
r200 r206 33 33 * ***** END LICENSE BLOCK ***** */ 34 34 /* 35 * This file was generated by orbit-idl-2 for Voyager36 *37 *38 35 * And remember, phase 3 is near... 39 36 */ 40 37 #ifndef NOM_WPDataFile_IMPLEMENTATION_FILE 38 #define NOM_WPDataFile_IMPLEMENTATION_FILE 39 #endif 41 40 #define INCL_DOS 42 41 #include <os2.h> … … 64 63 { 65 64 /* WPDataFileData* nomThis=WPDataFileGetData(nomSelf); */ 66 CORBA_long nomRetval;67 65 68 return nomRetval;66 return 0; 69 67 } 70 68 … … 72 70 { 73 71 /* WPDataFileData* nomThis=WPDataFileGetData(nomSelf); */ 74 CORBA_long nomRetval;75 72 76 return nomRetval;73 return 0; 77 74 } 78 75 79 76 NOM_Scope gpointer NOMLINK impl_WPDataFile_wpQueryIcon(WPDataFile* nomSelf, CORBA_Environment *ev) 80 77 { 81 static const gchar *gchrIconName=NULLHANDLE;82 static gpointer ptrIcon=NULLHANDLE;83 GError *error=NULL;84 85 78 /* WPDataFileData* nomThis=WPDataFileGetData(nomSelf); */ 86 79 87 80 return WPDataFile_wpQueryIcon_parent(nomSelf, NULLHANDLE); 88 81 89 #if 090 /* Load default wpObject icon */91 if(!gchrIconName){92 gchrIconName=g_build_filename(priv_getIconDir(), WPOBJECT_ICON_FILE, NULL);93 94 g_return_val_if_fail(g_file_test (gchrIconName, G_FILE_TEST_EXISTS), NULLHANDLE);95 nomPrintf("IconFile: %s\n", gchrIconName);96 // _hPointerCls = (HPOINTER)gdk_pixbuf_new_from_file (gchrIconName, &error);97 ptrIcon=gdk_pixbuf_new_from_file (gchrIconName, &error);98 }99 #warning !!!!! Dont create an icon for each object !!!!!100 if(ptrIcon)101 return ptrIcon;102 else103 return gdk_pixbuf_new_from_file (gchrIconName, &error);104 #endif105 82 #if 0 106 83 /* orbit-idl-c-stubs.c, VoyagerWriteProtoForParentCall line 84 */ -
trunk/desktop/class_c/wpfilesystem.c
r194 r206 35 35 * And remember, phase 3 is near... 36 36 */ 37 #ifndef NOM_WPFileSystem_IMPLEMENTATION_FILE 38 #define NOM_WPFileSystem_IMPLEMENTATION_FILE 39 #endif 37 40 38 41 #define INCL_DOS -
trunk/desktop/class_c/wpfolder.c
r200 r206 38 38 * And remember, phase 3 is near... 39 39 */ 40 #ifndef NOM_M_WPFolder_IMPLEMENTATION_FILE 41 #define NOM_M_WPFolder_IMPLEMENTATION_FILE 42 #endif 40 43 41 44 #define INCL_DOS -
trunk/desktop/class_c/wpfolderwindow.c
r194 r206 36 36 * 37 37 */ 38 #ifndef NOM_WPFolderWindow_IMPLEMENTATION_FILE 39 #define NOM_WPFolderWindow_IMPLEMENTATION_FILE 40 #endif 41 42 #define INCL_DOS 43 38 44 #define METHOD_DEBUG 39 45 -
trunk/desktop/class_c/wpnotebook.c
r189 r206 35 35 * And remember, phase 3 is near... 36 36 */ 37 #ifndef NOM_WPNoteBook_IMPLEMENTATION_FILE 38 #define NOM_WPNoteBook_IMPLEMENTATION_FILE 39 #endif 40 41 #define INCL_DOS 37 42 #include <os2.h> 38 43 -
trunk/desktop/class_c/wpobject.c
r200 r206 38 38 * And remember, phase 3 is near... 39 39 */ 40 #ifndef NOM_WPObject_IMPLEMENTATION_FILE 41 #define NOM_WPObject_IMPLEMENTATION_FILE 42 #endif 43 40 44 #define INCL_DOS 41 45 #define INCL_DOSERRORS -
trunk/desktop/class_c/wpwindow.c
r191 r206 35 35 * And remember, phase 3 is near... 36 36 */ 37 #ifndef NOM_WPWindow_IMPLEMENTATION_FILE 38 #define NOM_WPWindow_IMPLEMENTATION_FILE 39 #endif 40 41 #define INCL_DOS 37 42 #include <os2.h> 38 43
Note:
See TracChangeset
for help on using the changeset viewer.