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

Side by Side Diff: installer/src/installer-lib/DLL.cpp

Issue 5992177905696768: Issue #1186 - Rename symbols defined in 'installer-lib' (Closed)
Patch Set: Created May 18, 2015, 11:40 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 /** 1 /**
2 * \file abp_ca.cpp Top-level source for custom actions. Includes DLL initializat ion. 2 * \file DLL.cpp Top-level source for custom actions. Includes DLL initialization .
3 */ 3 */
4 #include "DLL.h" 4 #include "DLL.h"
5 #include <stdexcept> 5 #include <stdexcept>
6 6
7 std::shared_ptr< DllModule > DllModule::singleton = 0 ; 7 std::shared_ptr< DllModule > DllModule::singleton = 0 ;
8 8
9 DllModule & DllModule::module() 9 DllModule & DllModule::module()
10 { 10 {
11 if ( singleton ) 11 if ( singleton )
12 { 12 {
(...skipping 25 matching lines...) Expand all
38 } 38 }
39 39
40 /** 40 /**
41 * Since this class is mostly a replacement for a global variable, it's no surpri sing the constructor is almost trivial. 41 * Since this class is mostly a replacement for a global variable, it's no surpri sing the constructor is almost trivial.
42 */ 42 */
43 DllModule::DllModule( HINSTANCE handle ) 43 DllModule::DllModule( HINSTANCE handle )
44 : handle( handle ) 44 : handle( handle )
45 { 45 {
46 } 46 }
47 47
48 std::wstring DllModule::name() 48 std::wstring DllModule::Name()
49 { 49 {
50 if ( _name ) 50 if ( name )
51 return *_name ; 51 return *name ;
52 throw std::runtime_error( "Not yet implemented" ); 52 throw std::runtime_error( "Not yet implemented" );
53 } 53 }
OLDNEW

Powered by Google App Engine
This is Rietveld