LEFT | RIGHT |
1 /** | 1 /** |
2 * \file session.h The "install session" is the context for all custom installati
on behavior. | 2 * \file session.h The "install session" is the context for all custom installati
on behavior. |
3 */ | 3 */ |
4 | 4 |
5 #ifndef SESSION_H | 5 #ifndef SESSION_H |
6 #define SESSION_H | 6 #define SESSION_H |
7 | 7 |
8 #include "property.h" | 8 #include "property.h" |
9 #include "record.h" | 9 #include "record.h" |
10 | 10 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 class Session { | 71 class Session { |
72 public: | 72 public: |
73 /** | 73 /** |
74 * Destructor. | 74 * Destructor. |
75 */ | 75 */ |
76 ~Session() ; | 76 ~Session() ; |
77 | 77 |
78 /** | 78 /** |
79 * Write a message to the installation log, regular string version. | 79 * Write a message to the installation log, regular string version. |
80 */ | 80 */ |
81 void log( std::string message ) ; | 81 void Log( std::string message ) ; |
82 | 82 |
83 /** | 83 /** |
84 * Write a message to the installation log, wide string version. | 84 * Write a message to the installation log, wide string version. |
85 */ | 85 */ |
86 void log( std::wstring message ) ; | 86 void Log( std::wstring message ) ; |
87 | 87 |
88 /** | 88 /** |
89 * Write a message to the installation log without raising an exception. | 89 * Write a message to the installation log without raising an exception. |
90 * | 90 * |
91 * Use this function only in the three circumstances when an exception cannot b
e caught by an entry point catch-all. | 91 * Use this function only in the three circumstances when an exception cannot b
e caught by an entry point catch-all. |
92 * First and second, there's the constructor and destructor of a Session instan
ce. | 92 * First and second, there's the constructor and destructor of a Session instan
ce. |
93 * These log entry into and exit from the custom action, respectively. | 93 * These log entry into and exit from the custom action, respectively. |
94 * Third, there's the top level catch-blocks of the CA. | 94 * Third, there's the top level catch-blocks of the CA. |
95 * The scope of the Session object cannot be within the try-block in order for
it to be in scope for the catch-block. | 95 * The scope of the Session object cannot be within the try-block in order for
it to be in scope for the catch-block. |
96 * The session must be in scope in the catch-block to allow logging error messa
ges. | 96 * The session must be in scope in the catch-block to allow logging error messa
ges. |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 /** | 245 /** |
246 * The session for a rollback custom action. NOT IMPLEMENTED. | 246 * The session for a rollback custom action. NOT IMPLEMENTED. |
247 * | 247 * |
248 * \sa MSDN "Rollback Custom Actions" http://msdn.microsoft.com/en-us/library/win
dows/desktop/aa371369%28v=vs.85%29.aspx | 248 * \sa MSDN "Rollback Custom Actions" http://msdn.microsoft.com/en-us/library/win
dows/desktop/aa371369%28v=vs.85%29.aspx |
249 */ | 249 */ |
250 class Rollback_Session | 250 class Rollback_Session |
251 { | 251 { |
252 }; | 252 }; |
253 | 253 |
254 #endif | 254 #endif |
LEFT | RIGHT |