• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Copyright (C) 2003 Vladimir Roubtsov. All rights reserved.
2  *
3  * This program and the accompanying materials are made available under
4  * the terms of the Common Public License v1.0 which accompanies this distribution,
5  * and is available at http://www.eclipse.org/legal/cpl-v10.html
6  *
7  * $Id: IAppVersion.java,v 1.1.1.1 2004/05/09 16:57:28 vlad_r Exp $
8  */
9 package com.vladium.app;
10 
11 // ----------------------------------------------------------------------------
12 /**
13  * @author Vlad Roubtsov, (C) 2003
14  */
15 public
16 interface IAppVersion
17 {
18     // public: ................................................................
19 
20 
21     // filled in by the build:
22 
23     int APP_MAJOR_VERSION = /* @APP_MAJOR_VERSION@ */ 0;
24     int APP_MINOR_VERSION = /* @APP_MINOR_VERSION@ */ 0;
25 
26     int APP_BUILD_ID = /* @APP_BUILD_ID@ */ 0;
27     String APP_BUILD_RELEASE_TAG = /* @APP_BUILD_RELEASE_TAG@ */ " (unsupported private build)";
28     String APP_BUILD_DATE = /* @APP_BUILD_DATE@ */ "unknown";
29 
30     String APP_BUG_REPORT_LINK = /* @APP_BUG_REPORT_LINK@ */ "this private build is unsupported";
31     String APP_HOME_SITE_LINK = /* @APP_HOME_SITE_LINK@ */ "this private build is unsupported";
32 
33     // derived properties [must be compile-time consts]:
34 
35     String APP_BUILD_ID_AND_TAG = "" + APP_BUILD_ID + APP_BUILD_RELEASE_TAG;
36 
37     String APP_VERSION = "" + APP_MAJOR_VERSION + "." + APP_MINOR_VERSION;
38     String APP_VERSION_WITH_BUILD_ID_AND_TAG = APP_VERSION + "." + APP_BUILD_ID_AND_TAG;
39 
40 } // end of interface
41 // ----------------------------------------------------------------------------
42