summaryrefslogtreecommitdiff
path: root/libopie/pim/opimstate.h
authorzecke <zecke>2002-11-15 11:37:20 (UTC)
committer zecke <zecke>2002-11-15 11:37:20 (UTC)
commitab8d331905b59a86b50cd513123cdde67e4bfb8a (patch) (side-by-side diff)
tree38a0d3a04cd0f594fbf58644447e985e8385f5b0 /libopie/pim/opimstate.h
parentdc68676392f6ac7cced3a9b004fe72a8b408812f (diff)
downloadopie-ab8d331905b59a86b50cd513123cdde67e4bfb8a.zip
opie-ab8d331905b59a86b50cd513123cdde67e4bfb8a.tar.gz
opie-ab8d331905b59a86b50cd513123cdde67e4bfb8a.tar.bz2
Add proposal header for Cross Referencing..
look at them and comment
Diffstat (limited to 'libopie/pim/opimstate.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/pim/opimstate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libopie/pim/opimstate.h b/libopie/pim/opimstate.h
index 731181e..cf6af46 100644
--- a/libopie/pim/opimstate.h
+++ b/libopie/pim/opimstate.h
@@ -1,44 +1,46 @@
#ifndef OPIE_PIM_STATE_H
#define OPIE_PIM_STATE_H
#include <qstring.h>
/**
* The State of a Task
* This class encapsules the state of a todo
* and it's shared too
*/
/*
* in c a simple struct would be enough ;)
* g_new_state();
* g_do_some_thing( state_t* );
* ;)
*/
class OPimState {
public:
enum State {
Started = 0,
Postponed,
Finished,
NotStarted,
Undefined
};
OPimState( int state = Undefined );
OPimState( const OPimState& );
~OPimState();
bool operator==( const OPimState& );
OPimState &operator=( const OPimState& );
void setState( int state);
int state()const;
private:
void deref();
inline void copyInternally();
+
struct Data;
Data* data;
+
class Private;
Private *d;
};
#endif