Develop and Download Open Source Software

Browse CVS Repository

Annotation of /xoonips/AL/account.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.9 - (hide annotations) (download) (as text)
Wed Feb 9 07:23:50 2005 UTC (19 years, 2 months ago) by aga
Branch: MAIN
CVS Tags: mv_to_sourceforge_20050217
Changes since 1.8: +4 -4 lines
File MIME type: text/x-chdr
・URL to My Personal Archive をDB・ALから消した.

1 youi 1.1 /*
2     * XOOPS&Platform???若?句????????????????劫?荐?
3     *
4 aga 1.9 * $Revision: 1.8 $
5 youi 1.2 * $Log: account.h,v $
6 aga 1.9 * Revision 1.8 2005/01/22 00:18:33 aga
7     * ??ndexID ?? unsigned ??????.
8     *
9 aga 1.8 * Revision 1.7 2005/01/19 10:06:19 aga
10     * ??ccount::UID_GUEST=0??絎?臂?
11     *
12 aga 1.7 * Revision 1.6 2005/01/15 05:31:16 youi
13     * userid_t??篏帥?c???臂?
14     *
15 youi 1.6 * Revision 1.5 2005/01/14 10:33:37 aga
16     * ??nt privateIndexID??菴遵??.
17     *
18 aga 1.5 * Revision 1.4 2004/12/01 10:28:58 youi
19     * DB????????????眼??軸??篆??
20     * institute -> division
21     * organizaion -> company_name
22     *
23 youi 1.4 * Revision 1.3 2004/11/25 08:57:15 youi
24     * get膤脂?∽?違??onst篆??.
25     *
26 youi 1.3 * Revision 1.2 2004/11/25 04:11:43 youi
27     * typedef??菴遵??.
28 youi 1.4 *
29 youi 1.2 * Revision 1.1 2004/11/22 08:25:16 youi
30     * initial version.
31     *
32 youi 1.1 *
33     */
34     #if !defined( ACCOUNT_H )
35     #define ACCOUNT_H
36    
37     /*
38     * Visiome Platform Abstract Layer
39     * Account膊∞????????/span>
40     *
41     *
42     */
43    
44 youi 1.6 typedef unsigned int userid_t;
45 youi 1.1 class account{
46     private:
47 youi 1.6 userid_t uid; //< ???若?吟?潟?若??
48 youi 1.1 bool activate; //< ?≪?????若?帥???????粋???????/span>
49     char* address; //< 篏??
50 youi 1.4 char* division; //< ??絮?
51 youi 1.1 char* tel; //< ?肢????/span>
52 youi 1.4 char* company_name; //< 絖???篌?腓上??
53 youi 1.1 char* country; //< ?遵??
54     char* zipcode; //< ?灸梢???/span>
55     char* fax; //< ???<?????合???/span>
56     int noticeMail; //< ?亥???≪?ゃ???????ャ?<?若????篆♂????
57     time_t noticeMailSince; //< ?亥???≪?ゃ???????ャ?<?若????篆♂?????脂?我??/span>
58 aga 1.8 unsigned int privateIndexID; //private index??D
59 youi 1.1
60     char* uname;
61     char* name;
62     char* email;
63     char* url;
64     char* user_avatar;
65     int user_regdate;
66     char* user_icq;
67     char* user_from;
68     char* user_sig;
69     int user_viewemail;
70     char* actkey;
71     char* user_aim;
72     char* user_yim;
73     char* user_msnm;
74     char* pass;
75     int posts;
76     int attachsig;
77     int rank;
78     int level;
79     char* theme;
80     double timezone_offset;
81     int last_login;
82     char* umode;
83     int uorder;
84     int notify_method;
85     int notify_mode;
86     char* user_occ;
87     char* bio;
88     char* user_intrest;
89     int user_mailok;
90    
91     public:
92 aga 1.7 // reserved uid
93     static const userid_t UID_GUEST = 0;
94    
95 youi 1.1 account();
96     ~account();
97    
98     // ----
99 youi 1.6 userid_t getUID() const;
100 youi 1.3 bool getActivate() const;
101     const char *getAddress() const;
102 youi 1.4 const char *getDivision() const;
103 youi 1.3 const char *getTel() const;
104 youi 1.4 const char *getCompanyName() const;
105 youi 1.3 const char *getCountry() const;
106     const char *getZipcode() const;
107     const char *getFax() const;
108     int getNoticeMail() const;
109     time_t getNoticeMailSince() const;
110 aga 1.5 int getPrivateIndexID() const;
111 youi 1.1 // ----
112 youi 1.3 const char* getUname( ) const;
113     const char* getName( ) const;
114     const char* getEmail( ) const;
115     const char* getURL( ) const;
116     const char* getUserAvatar( ) const;
117     int getUserRegdate( ) const;
118     const char* getUserIcq( ) const;
119     const char* getUserFrom( ) const;
120     const char* getUserSig( ) const;
121     int getUserViewemail( ) const;
122     const char* getActkey( ) const;
123     const char* getUserAim( ) const;
124     const char* getUserYim( ) const;
125     const char* getUserMsnm( ) const;
126     const char* getPass( ) const;
127     int getPosts( ) const;
128     int getAttachsig( ) const;
129     int getRank( ) const;
130     int getLevel( ) const;
131     const char* getTheme( ) const;
132     double getTimezoneOffset( ) const;
133     int getLastLogin( ) const;
134     const char* getUmode( ) const;
135     int getUorder( ) const;
136     int getNotifyMethod( ) const;
137     int getNotifyMode( ) const;
138     const char* getUserOcc( ) const;
139     const char* getBio( ) const;
140     const char* getUserIntrest( ) const;
141     int getUserMailok( ) const;
142 youi 1.1
143     // ----
144 youi 1.6 void setUID(userid_t uid);
145 youi 1.1 void setActivate(bool activate);
146     void setAddress(const char *address);
147 youi 1.4 void setDivision(const char *division);
148 youi 1.1 void setTel(const char *tel);
149 youi 1.4 void setCompanyName(const char *company_name);
150 youi 1.1 void setCountry(const char *country);
151     void setZipcode(const char *zipcode);
152     void setFax(const char *fax);
153     void setNoticeMail(int noticeMail);
154     void setNoticeMailSince( time_t noticeMailSince);
155 aga 1.5 void setPrivateIndexID(int xid);
156 youi 1.1 // ----
157     void setUname( const char* uname );
158     void setName( const char* name );
159     void setEmail( const char* email );
160     void setURL( const char* url );
161     void setUserAvatar( const char* user_avatar );
162     void setUserRegdate( int user_regdate);
163     void setUserIcq( const char* user_icq );
164     void setUserFrom( const char* user_from );
165     void setUserSig( const char* user_sig );
166     void setUserViewemail( int user_viewemail );
167     void setActkey( const char* actkey );
168     void setUserAim( const char* user_aim );
169     void setUserYim( const char* user_yim );
170     void setUserMsnm( const char* user_msnm );
171     void setPass( const char* pass );
172     void setPosts( int posts );
173     void setAttachsig( int attachsig );
174     void setRank( int rank );
175     void setLevel( int level );
176     void setTheme( const char* theme );
177     void setTimezoneOffset( double timezone_offset );
178     void setLastLogin( int last_login );
179     void setUmode( const char* umode );
180     void setUorder( int uorder );
181     void setNotifyMethod( int notify_method );
182     void setNotifyMode( int notify_mode );
183     void setUserOcc( const char* user_occ );
184     void setBio( const char* bio );
185     void setUserIntrest( const char* user_intrest );
186     void setUserMailok( int user_mailok );
187     };
188 youi 1.2
189     typedef account account_t;
190 youi 1.1
191     #endif

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26