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.3 - (show annotations) (download) (as text)
Thu Nov 25 08:57:15 2004 UTC (19 years, 4 months ago) by youi
Branch: MAIN
Changes since 1.2: +46 -43 lines
File MIME type: text/x-chdr
get系関数にconst修飾.

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

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