// bitmapcode.cpp - Bitmap code helper.
//
-// (c) 2012-2015 Xestia Software Development.
+// (c) 2012-2021 Xestia Software Development.
//
// This file is part of Xestia Address Book.
//
// Check if completed file exists before doing anything
// else and write an error message if it does exist.
- if (wxFileExists(wxT("bitmapsdone"))){
+ if (wxFileExists(wxT("BitmapsDone"))){
std::cout << "Bitmap files have already been generated!" << std::endl << std::endl;
- std::cout << "To regenerate the files simply delete the bitmapsdone file where this helper application is run." << std::endl;
-
+ std::cout << "To regenerate the files simply delete the BitmapsDone file where this helper application is run." << std::endl;
return 0;
#elif defined(__WIN32__)
BitmapHeaderFilename.Append(BitmapDirName);
- BitmapHeaderFilename.Append(wxT("\\..\\bitmaps.h"));
+ BitmapHeaderFilename.Append(wxT("\\..\\Bitmaps.h"));
#else
BitmapHeaderFilename.Append(BitmapDirName);
- BitmapHeaderFilename.Append(wxT("/../bitmaps.h"));
+ BitmapHeaderFilename.Append(wxT("/../Bitmaps.h"));
#endif
#elif defined(__WIN32__)
- finalhppfile << "#include \"bitmaps\\" << DirNameSplit.ToStdString() <<
+ finalhppfile << "#include \"Bitmaps\\" << DirNameSplit.ToStdString() <<
".h\"" << endl;
#else
- finalhppfile << "#include \"bitmaps/" << DirNameSplit.ToStdString() <<
+ finalhppfile << "#include \"Bitmaps/" << DirNameSplit.ToStdString() <<
".h\"" << endl;
#endif
fstream bitmapflag;
- bitmapflag.open("bitmapsdone", ios::out | ios::trunc);
- bitmapflag << "Bitmaps as code generated. To recreate, simply delete this file and run the bitmap code generation tool again." << endl;
+ bitmapflag.open("BitmapsDone", ios::out | ios::trunc);
+ bitmapflag << "Bitmaps as code generated. To recreate, simply delete the BitmapsDone file and run the bitmap code generation tool again." << endl;
bitmapflag.close();
return 0;