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.1 - (show annotations) (download) (as text)
Mon Nov 22 08:25:16 2004 UTC (19 years, 4 months ago) by youi
Branch: MAIN
File MIME type: text/x-chdr
initial version.

1 /*
2 * XOOPS&Platformユーザ管理のためのクラス宣言
3 *
4 * $Revision$
5 * $Log$
6 *
7 */
8 #if !defined( ACCOUNT_H )
9 #define ACCOUNT_H
10
11 /*
12 * Visiome Platform Abstract Layer
13 * Account管理クラス
14 *
15 *
16 */
17
18 class account{
19 private:
20 int uid; //< ユーザコード
21 bool activate; //< モデレータによる承認フラグ
22 char* address; //< 住所
23 char* institute; //< 所属
24 char* tel; //< 電話番号
25 char* organization; //< 学校/会社名
26 char* country; //< 国名
27 char* zipcode; //< 郵便番号
28 char* fax; //< ファックス番号
29 char* baseURL; //< ベースURL
30 int noticeMail; //< 新着アイテム通知メール送信間隔
31 time_t noticeMailSince; //< 新着アイテム通知メール送信間隔登録日
32
33 char* uname;
34 char* name;
35 char* email;
36 char* url;
37 char* user_avatar;
38 int user_regdate;
39 char* user_icq;
40 char* user_from;
41 char* user_sig;
42 int user_viewemail;
43 char* actkey;
44 char* user_aim;
45 char* user_yim;
46 char* user_msnm;
47 char* pass;
48 int posts;
49 int attachsig;
50 int rank;
51 int level;
52 char* theme;
53 double timezone_offset;
54 int last_login;
55 char* umode;
56 int uorder;
57 int notify_method;
58 int notify_mode;
59 char* user_occ;
60 char* bio;
61 char* user_intrest;
62 int user_mailok;
63
64 public:
65 account();
66 ~account();
67
68 // ----
69 int getUID();
70 bool getActivate();
71 const char *getAddress();
72 const char *getInstitute();
73 const char *getTel();
74 const char *getOrganization();
75 const char *getCountry();
76 const char *getZipcode();
77 const char *getFax();
78 const char *getBaseURL();
79 int getNoticeMail();
80 time_t getNoticeMailSince();
81 // ----
82 const char* getUname( );
83 const char* getName( );
84 const char* getEmail( );
85 const char* getURL( );
86 const char* getUserAvatar( );
87 int getUserRegdate( );
88 const char* getUserIcq( );
89 const char* getUserFrom( );
90 const char* getUserSig( );
91 int getUserViewemail( );
92 const char* getActkey( );
93 const char* getUserAim( );
94 const char* getUserYim( );
95 const char* getUserMsnm( );
96 const char* getPass( );
97 int getPosts( );
98 int getAttachsig( );
99 int getRank( );
100 int getLevel( );
101 const char* getTheme( );
102 double getTimezoneOffset( );
103 int getLastLogin( );
104 const char* getUmode( );
105 int getUorder( );
106 int getNotifyMethod( );
107 int getNotifyMode( );
108 const char* getUserOcc( );
109 const char* getBio( );
110 const char* getUserIntrest( );
111 int getUserMailok( );
112
113 // ----
114 void setUID(int uid);
115 void setActivate(bool activate);
116 void setAddress(const char *address);
117 void setInstitute(const char *institute);
118 void setTel(const char *tel);
119 void setOrganization(const char *organization);
120 void setCountry(const char *country);
121 void setZipcode(const char *zipcode);
122 void setFax(const char *fax);
123 void setBaseURL(const char *baseURL);
124 void setNoticeMail(int noticeMail);
125 void setNoticeMailSince( time_t noticeMailSince);
126 // ----
127 void setUname( const char* uname );
128 void setName( const char* name );
129 void setEmail( const char* email );
130 void setURL( const char* url );
131 void setUserAvatar( const char* user_avatar );
132 void setUserRegdate( int user_regdate);
133 void setUserIcq( const char* user_icq );
134 void setUserFrom( const char* user_from );
135 void setUserSig( const char* user_sig );
136 void setUserViewemail( int user_viewemail );
137 void setActkey( const char* actkey );
138 void setUserAim( const char* user_aim );
139 void setUserYim( const char* user_yim );
140 void setUserMsnm( const char* user_msnm );
141 void setPass( const char* pass );
142 void setPosts( int posts );
143 void setAttachsig( int attachsig );
144 void setRank( int rank );
145 void setLevel( int level );
146 void setTheme( const char* theme );
147 void setTimezoneOffset( double timezone_offset );
148 void setLastLogin( int last_login );
149 void setUmode( const char* umode );
150 void setUorder( int uorder );
151 void setNotifyMethod( int notify_method );
152 void setNotifyMode( int notify_mode );
153 void setUserOcc( const char* user_occ );
154 void setBio( const char* bio );
155 void setUserIntrest( const char* user_intrest );
156 void setUserMailok( int user_mailok );
157 };
158
159 #endif

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