Changeset 138 for trunk/orca/qt/qorca.h

Show
Ignore:
Timestamp:
05/04/06 21:52:56 (3 years ago)
Author:
krobillard
Message:

Orca - orEnv now cleared in orFreeEnv().
Orca-Qt - User defined WIDPool objects can now be flagged for auto deletion.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/orca/qt/qorca.h

    r90 r138  
    5858public: 
    5959 
     60    enum eRecFlags 
     61    { 
     62        DeleteObject = 0x0001 
     63    }; 
     64 
    6065    struct REC 
    6166    { 
    62         int type; 
     67        short type; 
     68        short flags; 
    6369        union 
    6470        { 
     
    7076    WIDPool() : _freeCount(0), _freeIndex(-1) {} 
    7177 
    72     int  add( QObject*, int type ); 
     78    int  add( QObject*, int type, int flags = 0 ); 
    7379    void remove( int id ); 
    7480    REC* record( int id );