xref: /haiku/src/preferences/tracker/TrackerPreferences.cpp (revision 0562493379cd52eb7103531f895f10bb8e77c085)
1 /*
2  * Copyright 2009, Haiku Inc.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Alexandre Deckner, alex@zappotek.com
7  */
8 
9 #include <Application.h>
10 #include <Roster.h>
11 
12 
13 int
14 main(int argc, char **argv)
15 {
16 	BApplication app("application/x-vnd.Haiku-TrackerPreferences");
17 
18 	// launch Tracker if it's not running
19 	be_roster->Launch("application/x-vnd.Be-TRAK");
20 
21 	BMessage message;
22 	message.what = B_EXECUTE_PROPERTY;
23 	message.AddSpecifier("Preferences");
24 
25 	BMessenger("application/x-vnd.Be-TRAK").SendMessage(&message);
26 
27 	return 0;
28 }
29