Changeset 102 for trunk/desktop/class_c


Ignore:
Timestamp:
Nov 25, 2006, 5:37:43 PM (19 years ago)
Author:
cinc
Message:

Implemented wpInitData() for desktop classes

Location:
trunk/desktop/class_c
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/desktop/class_c/wpfolder.c

    r99 r102  
    4242#include <os2.h>
    4343
     44#include "nom.h"
     45#include <nomtk.h>
     46
    4447#include <string.h>
    4548#include "wpfolder.ih"
    4649
     50
     51/* pszPath contains the fully qualified path (checked with WPS) */
    4752NOM_Scope CORBA_boolean NOMLINK impl_WPFolder_wpPopulate(WPFolder* nomSelf, const CORBA_unsigned_long ulReserved, const CORBA_char * pszPath, const CORBA_boolean fFoldersOnly, CORBA_Environment *ev)
    4853{
     
    5055  CORBA_boolean nomRetval;
    5156
     57  nomPrintf("    Entering %s with nomSelf: 0x%x. nomSelf is: %s. Path is %s\n",
     58            __FUNCTION__, nomSelf , nomSelf->mtab->nomClassName, pszPath);
     59
    5260  return nomRetval;
     61}
     62
     63
     64NOM_Scope void NOMLINK impl_WPFolder_wpInitData(WPFolder* nomSelf, CORBA_Environment *ev)
     65{
     66/* WPFolderData* nomThis=WPFolderGetData(nomSelf); */
     67
     68  /* orbit-idl-c-stubs.c, VoyagerWriteProtoForParentCall line 84 */
     69  WPFolder_wpInitData_parent(nomSelf,  ev);
     70
     71  nomPrintf("    Entering %s with nomSelf: 0x%x. nomSelf is: %s.\n",
     72            __FUNCTION__, nomSelf , nomSelf->mtab->nomClassName);
     73
     74
    5375}
    5476
  • trunk/desktop/class_c/wpobject.c

    r98 r102  
    4141#include <os2.h>
    4242
     43#include <nom.h>
     44#include <nomtk.h>
     45
    4346#include <string.h>
    4447#include "wpobject.ih"
     
    6467/* WPObjectData* nomThis=WPObjectGetData(nomSelf); */
    6568
    66 #if 0
    6769  /* orbit-idl-c-stubs.c, VoyagerWriteProtoForParentCall line 84 */
    6870  WPObject_nomInit_parent(nomSelf,  ev);
    69 #endif
     71
     72  nomPrintf("    Entering %s with nomSelf: 0x%x. nomSelf is: %s.\n",
     73            __FUNCTION__, nomSelf , nomSelf->mtab->nomClassName);
     74
     75  _wpInitData(nomSelf, ev);
    7076}
    7177
Note: See TracChangeset for help on using the changeset viewer.