LEFT | RIGHT |
1 /** | 1 /** |
2 * \file session.cpp Implementation of Session class. | 2 * \file session.cpp Implementation of Session class. |
3 */ | 3 */ |
4 | 4 |
5 #include "installer-lib.h" | 5 #include "installer-lib.h" |
6 #include "session.h" | 6 #include "session.h" |
7 #include "property.h" | 7 #include "property.h" |
8 #include "msiquery.h" | 8 #include "msiquery.h" |
9 | 9 |
10 //------------------------------------------------------------------------------
----------- | 10 //------------------------------------------------------------------------------
----------- |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 { | 51 { |
52 Log_Message ( std::wstring message ) | 52 Log_Message ( std::wstring message ) |
53 : Message( message, INSTALLMESSAGE_INFO ) | 53 : Message( message, INSTALLMESSAGE_INFO ) |
54 {} | 54 {} |
55 | 55 |
56 Log_Message ( std::string message ) | 56 Log_Message ( std::string message ) |
57 : Message( message, INSTALLMESSAGE_INFO ) | 57 : Message( message, INSTALLMESSAGE_INFO ) |
58 {} | 58 {} |
59 } ; | 59 } ; |
60 | 60 |
61 void Session::log( std::string message ) | 61 void Session::Log( std::string message ) |
62 { | 62 { |
63 WriteMessage( Log_Message( log_prefix + message ) ) ; | 63 WriteMessage( Log_Message( log_prefix + message ) ) ; |
64 } | 64 } |
65 | 65 |
66 void Session::log( std::wstring message ) | 66 void Session::Log( std::wstring message ) |
67 { | 67 { |
68 WriteMessage( Log_Message( log_prefix_w + message ) ) ; | 68 WriteMessage( Log_Message( log_prefix_w + message ) ) ; |
69 } | 69 } |
70 | 70 |
71 void Session::LogNoexcept( std::string message ) | 71 void Session::LogNoexcept( std::string message ) |
72 { | 72 { |
73 write_message_noexcept( Log_Message( log_prefix + message ) ) ; | 73 write_message_noexcept( Log_Message( log_prefix + message ) ) ; |
74 } | 74 } |
75 | 75 |
76 int Session::WriteMessage( Message & m ) | 76 int Session::WriteMessage( Message & m ) |
(...skipping 10 matching lines...) Expand all Loading... |
87 { | 87 { |
88 return MsiProcessMessage( handle, m.message_type, m.r.handle() ) ; | 88 return MsiProcessMessage( handle, m.message_type, m.r.handle() ) ; |
89 } | 89 } |
90 | 90 |
91 //------------------------------------------------------------------------------
----------- | 91 //------------------------------------------------------------------------------
----------- |
92 // ImmediateSession | 92 // ImmediateSession |
93 //------------------------------------------------------------------------------
----------- | 93 //------------------------------------------------------------------------------
----------- |
94 ImmediateSession::ImmediateSession( MSIHANDLE handle, std::string name ) | 94 ImmediateSession::ImmediateSession( MSIHANDLE handle, std::string name ) |
95 : Session( handle, name ) | 95 : Session( handle, name ) |
96 {} | 96 {} |
LEFT | RIGHT |