-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Preview, Beta, and Demo modes
- Also try to fix the build error
- Loading branch information
Showing
12 changed files
with
12 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,25 +19,6 @@ | |
bool gRestartApp = false; | ||
|
||
App::App(void) : BApplication("application/x-vnd.wgp-CapitalBe") { | ||
#ifdef BETA_MODE | ||
|
||
// To create the UNIX number, run the Terminal command | ||
// date --date="25 Dec 2006" +%s | ||
// and change the date accordingly | ||
if (GetCurrentDate() > 1167022800) { | ||
ShowAlert( | ||
"This beta version has expired.", | ||
"This is only a test version of CapitalBe and is intended to work only " | ||
"for a short period of time to allow the community to help find bugs and " | ||
"make CapitalBe the best financial manager possible.\n\nYou can download " | ||
"a new copy of CapitalBe from http://www.capitalbe.com/" | ||
); | ||
be_app->PostMessage(B_QUIT_REQUESTED); | ||
return; | ||
} | ||
|
||
#endif | ||
|
||
// Load preferences and then initialize the translation system | ||
LoadPreferences(PREFERENCES_PATH "/CapitalBeSettings"); | ||
|
||
|
@@ -50,20 +31,6 @@ App::App(void) : BApplication("application/x-vnd.wgp-CapitalBe") { | |
|
||
MainWindow *win = new MainWindow(winframe); | ||
win->Show(); | ||
|
||
#ifdef PREVIEW_MODE | ||
|
||
ShowAlert( | ||
"Welcome to CapitalBe's Technology Preview!", | ||
"Welcome and thank you for trying CapitalBe, what will be the foremost " | ||
"personal finance manager for BeOS, Zeta, and Haiku.\n\n" | ||
"This preview version may contain bugs and is not feature complete, but " | ||
"will give you an idea of what the full version will be like when released.\n\n" | ||
"Please feel free to experiment and send any feedback to [email protected]", | ||
B_IDEA_ALERT | ||
); | ||
|
||
#endif | ||
} | ||
|
||
App::~App(void) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#ifndef LAYOUT_H | ||
#define LAYOUT_H | ||
|
||
|
||
extern int32 gTextViewHeight; | ||
extern int32 gStringViewHeight; | ||
|
||
#define TRANSLATE(x) gCurrentLanguage->Translate(x).String() | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters