Changeset 258 for trunk/desktop
- Timestamp:
- Mar 17, 2007, 11:42:55 AM (19 years ago)
- Location:
- trunk/desktop
- Files:
-
- 8 added
- 7 edited
-
Makefile (modified) (4 diffs)
-
class_c/m_wpdrives.c (added)
-
class_c/m_wprootfolder.c (added)
-
class_c/wpdrives.c (added)
-
class_c/wpfolder.c (modified) (2 diffs)
-
class_c/wpfolderwindow.c (modified) (3 diffs)
-
class_c/wprootfolder.c (added)
-
exports.def (modified) (1 diff)
-
idl/m_wpdrives.idl (added)
-
idl/m_wpfilesystem.idl (modified) (1 diff)
-
idl/m_wprootfolder.idl (added)
-
idl/wpdrives.idl (added)
-
idl/wpfolder.idl (modified) (1 diff)
-
idl/wprootfolder.idl (added)
-
src/vdesktop.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/desktop/Makefile
r224 r258 42 42 $(OBJDIR)/wpdatafile.o \ 43 43 $(OBJDIR)/wpfolder.o \ 44 $(OBJDIR)/wprootfolder.o \ 45 $(OBJDIR)/wpdrives.o \ 44 46 $(OBJDIR)/wpwindow.o \ 45 47 $(OBJDIR)/wpclassmanager.o \ … … 48 50 $(OBJDIR)/m_wpdatafile.o \ 49 51 $(OBJDIR)/m_wpfolder.o \ 52 $(OBJDIR)/m_wprootfolder.o \ 53 $(OBJDIR)/m_wpdrives.o \ 50 54 $(OBJDIR)/helper.o 51 55 … … 57 61 $(CLASSINC)/wpdatafile.ih \ 58 62 $(CLASSINC)/wpfolder.ih \ 63 $(CLASSINC)/wprootfolder.ih \ 64 $(CLASSINC)/wpdrives.ih \ 59 65 $(CLASSINC)/wpwindow.ih \ 60 66 $(CLASSINC)/wpnotebook.ih \ … … 63 69 $(CLASSINC)/m_wpfilesystem.ih \ 64 70 $(CLASSINC)/m_wpdatafile.ih \ 65 $(CLASSINC)/m_wpfolder.ih 71 $(CLASSINC)/m_wpfolder.ih \ 72 $(CLASSINC)/m_wprootfolder.ih \ 73 $(CLASSINC)/m_wpdrives.ih 66 74 67 75 #$(CLASSINC)/wpnativetypes.ih \ -
trunk/desktop/class_c/wpfolder.c
r247 r258 320 320 return TRUE; 321 321 322 322 323 /* Go through the directory and extract all the file 323 324 * information */ … … 663 664 WPFolderData* nomThis=WPFolderGetData(nomSelf); 664 665 666 g_message("Calling %s", __FUNCTION__); 665 667 WPFolder_wpRequestObjectMutexSem(nomSelf, 0,ev); 666 668 -
trunk/desktop/class_c/wpfolderwindow.c
r247 r258 58 58 #include "wpfolderwindow.h" 59 59 #include "wpfolder.h" 60 #include "m_wpfolder.h" 60 61 #include "wpfolderwindow.ih" 61 62 #include "wpobject.h" … … 109 110 } 110 111 112 111 113 static gboolean 112 114 fldr_handleButtonEvent (GtkWidget *widget, GdkEventButton *event, gpointer user_data) … … 129 131 wpFolder=(WPFolder*)WPFolderWindow_wpQueryObject(pWindow, NULLHANDLE); 130 132 TST_OBJECT(wpFolder); 131 133 //(TRUE ? WPFolder_wpSetFldrFlags(wpFolder, 0, 0, NULLHANDLE) : FALSE) ; 134 //WPFolderWindow_show(pWindow, NULLHANDLE) ; 135 //WPFolder_wpQueryFldrFlags(pWindow, NULLHANDLE) ; 136 //g_message("Result: %d ", (TRUE ? WPFolder_wpSetFldrFlags(NULL/*wpFolder*/, 0, 0, NULLHANDLE) : FALSE)) ; 132 137 if(nomIsObj(wpFolder)) 133 138 WPObject_wpDisplayMenu((WPObject*)wpFolder, pWindow, NULL, MENU_OPENVIEWPOPUP, 0, NULL); -
trunk/desktop/exports.def
r200 r258 26 26 M_WPFolderNewClass 27 27 28 _WPRootFolderClassData 29 _WPRootFolderCClassData 30 WPRootFolderNewClass 31 _M_WPRootFolderClassData 32 _M_WPRootFolderCClassData 33 M_WPRootFolderNewClass 34 35 _WPDrivesClassData 36 _WPDrivesCClassData 37 WPDrivesNewClass 38 _M_WPDrivesClassData 39 _M_WPDrivesCClassData 40 M_WPDrivesNewClass 41 28 42 _WPDataFileClassData 29 43 _WPDataFileCClassData -
trunk/desktop/idl/m_wpfilesystem.idl
r248 r258 33 33 * ***** END LICENSE BLOCK ***** */ 34 34 /** \file 35 Class definition file for M_WP Objectclass.35 Class definition file for M_WPFileSystem class. 36 36 */ 37 37 -
trunk/desktop/idl/wpfolder.idl
r245 r258 95 95 gulong wpQueryFldrFlags(); 96 96 boolean wpSetFldrFlags(in gulong ulFlags, in gulong ulMask); 97 97 // NOMPARMCHECK(wpSetFldrFlags, FALSE, !=0); 98 98 /** 99 99 Add an object to the internal list of objects held by -
trunk/desktop/src/vdesktop.c
r241 r258 57 57 #include "m_wpfolder.h" 58 58 #include "wpfolder.h" 59 #include "m_wprootfolder.h" 60 #include "wprootfolder.h" 59 61 #include "wpobject.h" 60 62 … … 87 89 PNOM_ENV pEnv; 88 90 NOMClassMgr *NOMClassMgrObject; 89 GtkWidget* window;90 int a;91 ULONG pMem;92 91 HREGDLL hReg=NULLHANDLE; 93 92 … … 99 98 gchar *chrDisplayName; 100 99 100 /* Register DLLs with the garbage collector */ 101 101 hReg=nomBeginRegisterDLLWithGC(); 102 102 if(NULLHANDLE==hReg) 103 103 return 1; 104 104 105 /* Register DLLs with the garbage collector */106 105 g_assert(nomRegisterDLLByName(hReg, "GLIB2.DLL" )); 107 106 g_assert(nomRegisterDLLByName(hReg, "GOBJECT2.DLL")); … … 125 124 126 125 #if 0 127 /* Initialize thread subsystem */126 /* Initialize thread subsystem. This needs a multithreaded glib */ 128 127 if(!g_thread_supported()) 129 128 g_thread_init(NULL); … … 161 160 /* Create root folder */ 162 161 np=NOMPath_queryPathBegin(nomPath, NULLHANDLE); 163 wpRootFolder=WP FolderNew();164 WP Folder_wpLockObject(wpRootFolder, NULLHANDLE);165 WP Folder_tstSetFullPath(wpRootFolder, NOMPath_queryCString(NOMPath_queryRoot(np, NULLHANDLE),NULLHANDLE),162 wpRootFolder=WPRootFolderNew(); 163 WPRootFolder_wpLockObject(wpRootFolder, NULLHANDLE); 164 WPRootFolder_tstSetFullPath(wpRootFolder, NOMPath_queryCString(NOMPath_queryRoot(np, NULLHANDLE),NULLHANDLE), 166 165 NULLHANDLE); 167 166 chrDisplayName = g_filename_to_utf8 (NOMPath_queryCString(np,NULLHANDLE), -1, NULL, NULL, NULL); 168 WP Folder_wpSetTitleFromCString((WPObject*)wpRootFolder, chrDisplayName, NULLHANDLE);167 WPRootFolder_wpSetTitleFromCString((WPObject*)wpRootFolder, chrDisplayName, NULLHANDLE); 169 168 170 169 wpTempFolder=wpRootFolder; … … 188 187 /* insert into contents list */ 189 188 WPFolder_wpAddToContent(wpTempFolder, (WPObject*) wpFolder, 190 N OMPath_copyCString(np, NULLHANDLE), NULLHANDLE);189 NULLHANDLE); 191 190 192 191 wpTempFolder=wpFolder; … … 215 214 216 215 217 #if 0 218 mem=g_malloc(1250000); 219 memset(mem, 0xaa, 10000); 220 // *pGlobalMemInExe=mem; 221 for(a=0;a<50;a++){ 222 g_malloc(1250000); 223 printf("%x %x %x %x %d\n", *mem, *(mem+1), *(mem+2), *(mem+3), 0); 224 //printf("%x\n", *((ULONG*)pGlobalMemInExe)); 225 } 226 #endif 227 216 #warning !!!!! A call to NOMTerminate() or alike is missing 228 217 printf("And now we quit...\n"); 229 218
Note:
See TracChangeset
for help on using the changeset viewer.
