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.5 - (show annotations) (download) (as text)
Fri Jan 14 10:33:37 2005 UTC (19 years, 2 months ago) by aga
Branch: MAIN
Changes since 1.4: +9 -1 lines
File MIME type: text/x-chdr
・int privateIndexIDを追加.

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

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