This documenta- tion describes the current state of development.
Prokee Modules:
GUI Elements:
GUI Interactions:
GUI Layouts:
Games/Demos:
Third Party Libraries:
This documentation describes the Prokee module interface.
Static Methods:In some cases it is more convenient to put DEF-Blocks (for bmc) directly into source files.
When writing DEF-Blocks within a C/C++ file, the blocks have to be put inside of C/C++-comments.
Because bmc can not read DEF-Blocks directly from a C/C++ source file, we provide the following work-around.
This module copies all DEF-blocks from inside of special comments of C/C++ files (or other source files) into an aditional file which then can be interpreted by bmc.
Actually the module does not only copy DEF-blocks (which would require parsing them), but copies all the content from within special comments.
The special comments are C-block-comments marked with the word 'bmc' in the first line, as described below.
The red marked part will be copied.
The ... in the example above stand for none or any number of stars and spaces.
Syntax specfication: '/' '*' { {' '} {'*'} } 'b' 'm' 'c' < content > '*' '/'
1) Den nachfolgenden C/C++ Codeblock einbinden:
CODE=?\n
CODE=?;
CODE=?n
CODE=?X
CODE2="@CODE_A";
CODE2
{
"@CODE_A";
id="1";
}
int bmc_extract::reset(const char *target_filename)
| Type | Name | Direction | Description |
| target_filename | [IN] | Filename of the target file. |
int bmc_extract::extract(const char *source_filename,const char *target_filename)
| Type | Name | Direction | Description |
| source_filename | [IN] | Filename of the source file. | |
| target_filename | [IN] | Filename of the target file. |
This method allows source_filename to be a path to a directory. If so, the method searches through all files in this directory and all its subdirectories.int bmc_extract::extract_file(const char *source_filename,const char *target_filename)
| Type | Name | Direction | Description |
| source_filename | [IN] | Filename of the source file. | |
| target_filename | [IN] | Filename of the target file. |