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.6 - (show annotations) (download) (as text)
Sat Jan 15 05:31:16 2005 UTC (19 years, 2 months ago) by youi
Branch: MAIN
Changes since 1.5: +8 -4 lines
File MIME type: text/x-chdr
userid_tを使って定義.

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

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