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

Unified Diff: installer/src/installer-lib/custom-i18n.h

Issue 5992177905696768: Issue #1186 - Rename symbols defined in 'installer-lib' (Closed)
Patch Set: fixed issues; rebased; new fixes from rebase Created June 19, 2015, 4:09 p.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
« no previous file with comments | « installer/src/installer-lib/DLL.cpp ('k') | installer/src/installer-lib/database.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: installer/src/installer-lib/custom-i18n.h
===================================================================
--- a/installer/src/installer-lib/custom-i18n.h
+++ b/installer/src/installer-lib/custom-i18n.h
@@ -2,11 +2,11 @@
* \file custom-i18n.h
*/
-#ifndef CUSTOM_I18N_H
-#define CUSTOM_I18N_H
-
-#include <database.h>
-
+#ifndef CUSTOM_I18N_H
+#define CUSTOM_I18N_H
+
+#include <database.h>
+
//-------------------------------------------------------
// Message box text
//-------------------------------------------------------
@@ -14,7 +14,7 @@
* Accessor to localizable content for custom actions.
*
* This class requires that the MSI contain a custom table named "AbpUIText" in the MSI database.
- * The WiX definition of that table is in the file "custom_i18n.wxi".
+ * The WiX definition of that table is in the file "custom-i18n.wxi".
* Each custom action has the responsibility for defining its own rows within this table.
*/
class CustomMessageText
@@ -32,10 +32,10 @@
try {
View v( db, L"SELECT `content` FROM `AbpUIText` WHERE `component`=? and `id`=?" ) ;
Record arg( 2 ) ;
- arg.assign_string( 1, component ) ;
- arg.assign_string( 2, id.c_str() ) ;
- Record r( v.first( arg ) ) ;
- return r.value_string( 1 ) ;
+ arg.AssignString( 1, component ) ;
+ arg.AssignString( 2, id.c_str() ) ;
+ Record r( v.First( arg ) ) ;
+ return r.ValueString( 1 ) ;
}
catch( ... )
{
@@ -43,5 +43,5 @@
}
}
} ;
-
-#endif
+
+#endif
« no previous file with comments | « installer/src/installer-lib/DLL.cpp ('k') | installer/src/installer-lib/database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld