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.4 - (show annotations) (download) (as text)
Wed Dec 1 10:28:58 2004 UTC (19 years, 4 months ago) by youi
Branch: MAIN
Changes since 1.3: +11 -8 lines
File MIME type: text/x-chdr
DB・ォ・鬣猯セ、ホハムケケ、ヒネシ、ヲス、タオ
    institute -> division
    organizaion -> company_name

1 /*
2 * XOOPS&Platform繝ヲ繝シ繧カ邂。逅??縺溘a縺ョ繧ッ繝ゥ繧ケ螳」險?
3 *
4 * $Revision: 1.3 $
5 * $Log: account.h,v $
6 * Revision 1.3 2004/11/25 08:57:15 youi
7 * get邉サ髢「謨ー縺ォconst菫ョ鬟セ.
8 *
9 * Revision 1.2 2004/11/25 04:11:43 youi
10 * typedef繧定ソス蜉?.
11 *
12 * Revision 1.1 2004/11/22 08:25:16 youi
13 * initial version.
14 *
15 *
16 */
17 #if !defined( ACCOUNT_H )
18 #define ACCOUNT_H
19
20 /*
21 * Visiome Platform Abstract Layer
22 * Account邂。逅?け繝ゥ繧ケ
23 *
24 *
25 */
26
27 class account{
28 private:
29 int uid; //< 繝ヲ繝シ繧カ繧ウ繝シ繝?/span>
30 bool activate; //< 繝「繝?Ξ繝シ繧ソ縺ォ繧医k謇ソ隱阪ヵ繝ゥ繧ー
31 char* address; //< 菴乗園
32 char* division; //< 謇?螻?/span>
33 char* tel; //< 髮サ隧ア逡ェ蜿キ
34 char* company_name; //< 蟄ヲ譬。/莨夂、セ蜷?/span>
35 char* country; //< 蝗ス蜷?/span>
36 char* zipcode; //< 驛オ萓ソ逡ェ蜿キ
37 char* fax; //< 繝輔ぃ繝?け繧ケ逡ェ蜿キ
38 char* baseURL; //< 繝吶?繧ケURL
39 int noticeMail; //< 譁ー逹?繧「繧、繝?Β騾夂衍繝。繝シ繝ォ騾∽ソ。髢馴囈
40 time_t noticeMailSince; //< 譁ー逹?繧「繧、繝?Β騾夂衍繝。繝シ繝ォ騾∽ソ。髢馴囈逋サ骭イ譌・
41
42 char* uname;
43 char* name;
44 char* email;
45 char* url;
46 char* user_avatar;
47 int user_regdate;
48 char* user_icq;
49 char* user_from;
50 char* user_sig;
51 int user_viewemail;
52 char* actkey;
53 char* user_aim;
54 char* user_yim;
55 char* user_msnm;
56 char* pass;
57 int posts;
58 int attachsig;
59 int rank;
60 int level;
61 char* theme;
62 double timezone_offset;
63 int last_login;
64 char* umode;
65 int uorder;
66 int notify_method;
67 int notify_mode;
68 char* user_occ;
69 char* bio;
70 char* user_intrest;
71 int user_mailok;
72
73 public:
74 account();
75 ~account();
76
77 // ----
78 int getUID() const;
79 bool getActivate() const;
80 const char *getAddress() const;
81 const char *getDivision() const;
82 const char *getTel() const;
83 const char *getCompanyName() const;
84 const char *getCountry() const;
85 const char *getZipcode() const;
86 const char *getFax() const;
87 const char *getBaseURL() const;
88 int getNoticeMail() const;
89 time_t getNoticeMailSince() const;
90 // ----
91 const char* getUname( ) const;
92 const char* getName( ) const;
93 const char* getEmail( ) const;
94 const char* getURL( ) const;
95 const char* getUserAvatar( ) const;
96 int getUserRegdate( ) const;
97 const char* getUserIcq( ) const;
98 const char* getUserFrom( ) const;
99 const char* getUserSig( ) const;
100 int getUserViewemail( ) const;
101 const char* getActkey( ) const;
102 const char* getUserAim( ) const;
103 const char* getUserYim( ) const;
104 const char* getUserMsnm( ) const;
105 const char* getPass( ) const;
106 int getPosts( ) const;
107 int getAttachsig( ) const;
108 int getRank( ) const;
109 int getLevel( ) const;
110 const char* getTheme( ) const;
111 double getTimezoneOffset( ) const;
112 int getLastLogin( ) const;
113 const char* getUmode( ) const;
114 int getUorder( ) const;
115 int getNotifyMethod( ) const;
116 int getNotifyMode( ) const;
117 const char* getUserOcc( ) const;
118 const char* getBio( ) const;
119 const char* getUserIntrest( ) const;
120 int getUserMailok( ) const;
121
122 // ----
123 void setUID(int uid);
124 void setActivate(bool activate);
125 void setAddress(const char *address);
126 void setDivision(const char *division);
127 void setTel(const char *tel);
128 void setCompanyName(const char *company_name);
129 void setCountry(const char *country);
130 void setZipcode(const char *zipcode);
131 void setFax(const char *fax);
132 void setBaseURL(const char *baseURL);
133 void setNoticeMail(int noticeMail);
134 void setNoticeMailSince( time_t noticeMailSince);
135 // ----
136 void setUname( const char* uname );
137 void setName( const char* name );
138 void setEmail( const char* email );
139 void setURL( const char* url );
140 void setUserAvatar( const char* user_avatar );
141 void setUserRegdate( int user_regdate);
142 void setUserIcq( const char* user_icq );
143 void setUserFrom( const char* user_from );
144 void setUserSig( const char* user_sig );
145 void setUserViewemail( int user_viewemail );
146 void setActkey( const char* actkey );
147 void setUserAim( const char* user_aim );
148 void setUserYim( const char* user_yim );
149 void setUserMsnm( const char* user_msnm );
150 void setPass( const char* pass );
151 void setPosts( int posts );
152 void setAttachsig( int attachsig );
153 void setRank( int rank );
154 void setLevel( int level );
155 void setTheme( const char* theme );
156 void setTimezoneOffset( double timezone_offset );
157 void setLastLogin( int last_login );
158 void setUmode( const char* umode );
159 void setUorder( int uorder );
160 void setNotifyMethod( int notify_method );
161 void setNotifyMode( int notify_mode );
162 void setUserOcc( const char* user_occ );
163 void setBio( const char* bio );
164 void setUserIntrest( const char* user_intrest );
165 void setUserMailok( int user_mailok );
166 };
167
168 typedef account account_t;
169
170 #endif

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