Ignore:
Timestamp:
Jan 7, 2007, 10:36:52 PM (19 years ago)
Author:
cinc
Message:

New methods and additions all over the place.

File:
1 edited

Legend:

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

    r176 r183  
    6161#endif
    6262
     63#ifndef WPFolder
     64typedef struct WPFolder_struct {
     65  struct nomMethodTabStruct  *mtab;
     66  gulong body[1];
     67} WPFolderObj;
     68#define WPFolder WPFolderObj
     69typedef WPFolder *PWPFolder;
     70#endif
     71
    6372#include "nomwindow.h"
    6473#include "desktoptypes.h"
     
    186195
    187196  g_return_val_if_fail(NULLHANDLE!=wpObject, FALSE);
     197
     198  WPObject_wpSaveDeferred(wpObject, NULLHANDLE);
    188199
    189200  WPObject_wpDeleteFromObjUseList(wpObject, pUseItem, NULLHANDLE);
     
    445456
    446457  /* Create a new title */
    447   NOMString_assignString(tmpString, pnomStrNewTitle, ev);
     458  NOMString_assign(tmpString, pnomStrNewTitle, ev);
    448459
    449460  /* It may happen that someone changed the title from another thread. We may either
     
    472483  tmpPtr=g_atomic_pointer_get(&_pnomStringTitle);
    473484
    474   return NOMString_copyString(tmpPtr, ev);
     485  return NOMString_copy(tmpPtr, ev);
    475486}
    476487
     
    656667}
    657668
    658 
    659 
    660 
     669NOM_Scope CORBA_boolean NOMLINK impl_WPObject_wpSaveDeferred(WPObject* nomSelf, CORBA_Environment *ev)
     670{
     671/* WPObjectData* nomThis=WPObjectGetData(nomSelf); */
     672
     673  g_message("%s not implemented", __FUNCTION__);
     674
     675  return TRUE;
     676}
     677
     678NOM_Scope CORBA_boolean NOMLINK impl_WPObject_wpSaveImmediate(WPObject* nomSelf, CORBA_Environment *ev)
     679{
     680/* WPObjectData* nomThis=WPObjectGetData(nomSelf); */
     681
     682  g_message("%s not implemented", __FUNCTION__);
     683
     684  return TRUE;
     685}
     686
     687NOM_Scope void NOMLINK impl_WPObject_wpSetFolder(WPObject* nomSelf, const PWPFolder wpParentFolder,
     688                                                 CORBA_Environment *ev)
     689{
     690  WPObjectData* nomThis=WPObjectGetData(nomSelf);
     691
     692  _wpParentFldr=wpParentFolder;
     693}
     694
     695NOM_Scope PWPFolder NOMLINK impl_WPObject_wpQueryFolder(WPObject* nomSelf, CORBA_Environment *ev)
     696{
     697  WPObjectData* nomThis=WPObjectGetData(nomSelf);
     698
     699  return _wpParentFldr;
     700}
     701
Note: See TracChangeset for help on using the changeset viewer.