Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: installer/src/installer-lib/session.h

Issue 5219280069066752: Issue #1186 - Change names that appear in the custom action (Closed)
Patch Set: Created Oct. 20, 2014, 1:42 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: installer/src/installer-lib/session.h
===================================================================
--- a/installer/src/installer-lib/session.h
+++ b/installer/src/installer-lib/session.h
@@ -96,12 +96,12 @@
* The session must be in scope in the catch-block to allow logging error messages.
* In all other cases, use the exception mechanism.
*/
- void log_noexcept( std::string message ) ;
+ void LogNoexcept( std::string message ) ;
/**
* Write to a MessageBox dialog.
*/
- int write_message( Message & ) ;
+ int WriteMessage( Message & ) ;
protected:
/**
@@ -166,14 +166,14 @@
};
//-----------------------------------------------------------------------------------------
-// Immediate_Session
+// ImmediateSession
//-----------------------------------------------------------------------------------------
/**
* Session for immediate custom actions.
*
* Access to the installer database is by passing a reference to a class of this subtype to a Database constructor.
*/
-class Immediate_Session : public Session
+class ImmediateSession : public Session
{
public:
/**
@@ -186,13 +186,13 @@
*
* **noexcept** declaration to be added for C++11.
*/
- Immediate_Session( MSIHANDLE handle, std::string name ) ;
+ ImmediateSession( MSIHANDLE handle, std::string name ) ;
private:
/*
* Allow helper function for Installation_Database constructor to have access to the handle.
*/
- friend msi_handle get_active_database( Immediate_Session & session ) ;
+ friend msi_handle get_active_database( ImmediateSession & session ) ;
};

Powered by Google App Engine
This is Rietveld