Audacity 3.2.0
Classes | Functions
imageCompilerMain.cpp File Reference
#include <wx/app.h>
#include <wx/image.h>
#include <list>
#include <iostream>
#include "MemoryX.h"
#include "Theme.h"
Include dependency graph for imageCompilerMain.cpp:

Go to the source code of this file.

Classes

class  App
 

Functions

int main (int argc, char *argv[])
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 53 of file imageCompilerMain.cpp.

54{
55 if (argc < 3) {
56 using namespace std;
57 cerr
58 << "Usage: " << argv[0]
59 << " absolute-path-to-folder theme-name [theme-name...]"
60 << endl;
61 return 1;
62 }
64 const std::vector<unsigned char> empty;
65 std::list<ThemeBase::RegisteredTheme> registrations;
66 for (int ii = 2; ii < argc; ++ii)
67 registrations.emplace_back( EnumValueSymbol{ argv[ii], {} },
69
70 wxDISABLE_DEBUG_SUPPORT();
71
72 return wxEntry(argc, argv);
73}
THEME_API Theme theTheme
Definition: Theme.cpp:82
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
void SetFilePath(const FilePath &path)
Definition: Theme.cpp:157
UTILITY_API const char *const * argv
A copy of argv; responsibility of application startup to assign it.
UTILITY_API int argc
A copy of argc; responsibility of application startup to assign it.
STL namespace.

References CommandLineArgs::argc, CommandLineArgs::argv, ThemeBase::SetFilePath(), and theTheme.

Here is the call graph for this function: