Develop and Download Open Source Software

Browse CVS Repository

Contents of /xoonips/AL/session.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.7 - (show annotations) (download) (as text)
Sat Jan 15 05:33:41 2005 UTC (19 years, 2 months ago) by youi
Branch: MAIN
Changes since 1.6: +5 -1 lines
File MIME type: text/x-chdr
account.hをインクルードした.

1 /*
2 *
3 * ?祉???激?с?括??????????鴻???荐?
4 *
5 * $Revision: 1.6 $
6 * $Log: session.h,v $
7 * Revision 1.6 2005/01/06 07:24:07 youi
8 * getUserID??getUID???setUserID??setUID???劫??????.
9 *
10 * Revision 1.5 2004/11/30 05:46:32 aga
11 * ??ession????remoteHost??????
12 *
13 * Revision 1.4 2004/11/26 06:24:53 aga
14 * ??ession???<?潟????serid_t??菴遵??.
15 *
16 * Revision 1.3 2004/11/25 09:00:41 youi
17 * get膤脂?∽?違??onst篆??.
18 * sessionid_t??typedef????.
19 *
20 * Revision 1.2 2004/11/25 04:12:03 youi
21 * typedef??菴遵??.
22 *
23 * Revision 1.1 2004/11/24 06:53:07 youi
24 * initial version
25 *
26 *
27 */
28
29 #if !defined( SESSION_H )
30 #define SESSION_H
31
32 #include <time.h>
33 #include "account.h"
34 #include "common.h"
35
36 typedef unsigned long sessionid_t;
37 class session{
38 private:
39 unsigned long sessionID; //?祉???激?с??D
40 time_t date; //?祉???激?с?割????ユ??
41 userid_t userID; // xoops_users??id
42
43 void sessionid( time_t date );
44 public:
45 session();
46 session( time_t date );
47 ~session();
48
49 sessionid_t getSessionID() const;
50 time_t getDate() const;
51 userid_t getUID() const;
52
53 void setDate( time_t date );
54 void setSessionID( sessionid_t );
55 void setUID( userid_t );
56 };
57
58 typedef session session_t;
59 #endif

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