Develop and Download Open Source Software

Browse CVS Repository

Contents of /xoonips/AL/account.h

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


Revision 1.2 - (show annotations) (download) (as text)
Thu Nov 25 04:11:43 2004 UTC (19 years, 4 months ago) by youi
Branch: MAIN
Changes since 1.1: +7 -2 lines
File MIME type: text/x-chdr
typedefを追加.

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

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