Develop and Download Open Source Software

Browse CVS Repository

Annotation of /xoonips/AL/session.h

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


Revision 1.8 - (hide annotations) (download) (as text)
Wed Jan 19 10:06:37 2005 UTC (19 years, 2 months ago) by aga
Branch: MAIN
CVS Tags: mv_to_sourceforge_20050217, demo20050128
Changes since 1.7: +7 -1 lines
File MIME type: text/x-chdr
・session::SID_GUEST=0を定義.

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

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