vfs: check userland buffers before reading them.
[haiku.git] / src / preferences / tracker / TrackerPreferences.cpp
blob803bce49d178cb0e0581ea466b3521f24812b6fa
1 /*
2 * Copyright 2009, Haiku Inc.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Alexandre Deckner, alex@zappotek.com
7 */
9 #include <Application.h>
10 #include <Catalog.h>
11 #include <Roster.h>
14 int
15 main(int argc, char **argv)
17 B_TRANSLATE_MARK_SYSTEM_NAME_VOID("Tracker");
18 BApplication app("application/x-vnd.Haiku-TrackerPreferences");
20 // launch Tracker if it's not running
21 be_roster->Launch("application/x-vnd.Be-TRAK");
23 BMessage message;
24 message.what = B_EXECUTE_PROPERTY;
25 message.AddSpecifier("Preferences");
27 BMessenger("application/x-vnd.Be-TRAK").SendMessage(&message);
29 return 0;