tool/testResources/resources-CODEGEN.cpp

Go to the documentation of this file.
00001 /*
00002  * Autogenerated resource file.
00003  * 
00004  * DO NOT MODIFY BY HAND.  DO NOT ADD TO REPOSITORY.
00005  *
00006  * This file will be destroyed and recreated with every build.
00007  */
00008 
00009 #include "resources/resources-internal.h"
00010 
00011 
00012 static const string_resource_t 
00013 testVariable [] = {
00014 
00015 // definition of the string resource "example1.txt" -------------------------
00016 { /* namespace */ "foo",  /* name */ "example1.txt",  /* value follows */
00017 "Hello world!  This is example text."},
00018 // end of string resource "example1.txt"
00019 
00020 // definition of the string resource "example1.txt" -------------------------
00021 { /* namespace */ "bar",  /* name */ "example1.txt",  /* value follows */
00022 "Hello world!  This is example text."},
00023 // end of string resource "example1.txt"
00024 
00025 // definition of the string resource "example2.txt" -------------------------
00026 { /* namespace */ "foo",  /* name */ "example2.txt",  /* value follows */
00027 "This is line 1 of a larger string resource." "\n"
00028 "This is line 2." "\n"
00029 "" "\n"
00030 "Line 3 was blank.  This is line 4." "\n"
00031 "Hello!  This is line 5, which is the longest line in here." "\n"
00032 "Line 6: short." "\n"
00033 "" "\n"
00034 "" "\n"
00035 "" "\n"
00036 "Lines 7, 8, and 9 were blank.  Line 10 is the last line."},
00037 // end of string resource "example2.txt"
00038 
00039 // must be last!  (terminates string table)
00040 { NULL, NULL, NULL }
00041 };      // end of string table
00042 
00043 
00044 // this will register all strings at process startup/library load
00045 static AutoStringRegister g_autoRegister(testVariable);
00046 
00047