1#ifndef RECENT_APPS_TEST_APP_H 2#define RECENT_APPS_TEST_APP_H 3 4#include <Application.h> 5 6class RecentAppsTestApp : public BApplication { 7public: 8 RecentAppsTestApp(const char *sig) : BApplication(sig) {} 9 10 virtual void ReadyToRun() { 11 Quit(); 12 } 13}; 14 15// App indices, sigs, and filenames: 16// 0: Qualifying: BEOS:APP_FLAGS == (B_SINGLE_LAUNCH || B_MULTIPLE_LAUNCH || B_EXCLUSIVE_LAUNCH) 17// 1: Non-qualifying: BEOS:APP_FLAGS &== B_BACKGROUND_APP || B_ARGV_ONLY 18// 2: Empty: No BEOS:APP_FLAGS attribute 19// 3: Control: (same as qualifying, but with a different sig to make sure qualifying apps work correctly) 20enum RecentAppsTestAppId { 21 kQualifyingApp = 0, 22 kNonQualifyingApp, 23 kEmptyApp, 24 kControlApp, 25}; 26extern const char *kRecentAppsTestAppSigs[]; 27extern const char *kRecentAppsTestAppFilenames[]; 28 29 30#endif 31