Some application MIME signature fixing.
We really should come up with a way to avoid the duplication between the rdef and source code... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32505 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -129,7 +129,7 @@ AddTranslationItems(BMenu* intoMenu, uint32 fromType)
|
|||||||
|
|
||||||
|
|
||||||
CodyCam::CodyCam()
|
CodyCam::CodyCam()
|
||||||
: BApplication("application/x-vnd.Be.CodyCam"),
|
: BApplication("application/x-vnd.Haiku.CodyCam"),
|
||||||
fMediaRoster(NULL),
|
fMediaRoster(NULL),
|
||||||
fVideoConsumer(NULL),
|
fVideoConsumer(NULL),
|
||||||
fWindow(NULL),
|
fWindow(NULL),
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ resource(101, "BEOS:M:STD_ICON") #'MICN' array
|
|||||||
|
|
||||||
#endif // HAIKU_TARGET_PLATFORM_HAIKU
|
#endif // HAIKU_TARGET_PLATFORM_HAIKU
|
||||||
|
|
||||||
resource(1, "BEOS:APP_SIG") #'MIMS' "application/x-vnd.Be.CodyCam";
|
resource(1, "BEOS:APP_SIG") #'MIMS' "application/x-vnd.Haiku.CodyCam";
|
||||||
|
|
||||||
resource(1, "BEOS:APP_VERSION") #'APPV' array
|
resource(1, "BEOS:APP_VERSION") #'APPV' array
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ EXTERN int kBasePieColorCount;
|
|||||||
EXTERN rgb_color *kBasePieColor;
|
EXTERN rgb_color *kBasePieColor;
|
||||||
|
|
||||||
// Non-resources :)
|
// Non-resources :)
|
||||||
PUBLIC_CONST char* kAppSignature EQ("application/x-vnd.haiku-diskusage");
|
PUBLIC_CONST char* kAppSignature EQ("application/x-vnd.Haiku-DiskUsage");
|
||||||
PUBLIC_CONST char* kHelpFileName EQ("userguide/en/applications/apps-diskusage.html");
|
PUBLIC_CONST char* kHelpFileName EQ("userguide/en/applications/apps-diskusage.html");
|
||||||
PUBLIC_CONST char* kPieRectAttrName EQ("mainrect");
|
PUBLIC_CONST char* kPieRectAttrName EQ("mainrect");
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
resource app_signature "application/x-vnd.haiku-diskusage";
|
resource app_signature "application/x-vnd.Haiku-DiskUsage";
|
||||||
|
|
||||||
resource app_version {
|
resource app_version {
|
||||||
major = 1,
|
major = 1,
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
App::App()
|
App::App()
|
||||||
:
|
:
|
||||||
BApplication("application/x-vnd.Haiku3d")
|
BApplication("application/x-vnd.Haiku-Haiku3d")
|
||||||
{
|
{
|
||||||
BRect frame(50, 50, 640 + 50, 480 + 50);
|
BRect frame(50, 50, 640 + 50, 480 + 50);
|
||||||
const char *title = "Haiku3d";
|
const char *title = "Haiku3d";
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
* Copyright Be, Inc. (for the temporary icon)
|
* Copyright Be, Inc. (for the temporary icon)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
resource(1, "BEOS:APP_SIG") #'MIMS' "application/x-vnd.Haiku3d";
|
resource(1, "BEOS:APP_SIG") #'MIMS' "application/x-vnd.Haiku-Haiku3d";
|
||||||
|
|
||||||
resource app_version {
|
resource app_version {
|
||||||
major = 1,
|
major = 1,
|
||||||
|
|||||||
@@ -195,7 +195,7 @@ TMainWindow::MessageReceived(BMessage* message)
|
|||||||
int
|
int
|
||||||
main(int, char**)
|
main(int, char**)
|
||||||
{
|
{
|
||||||
BApplication* app = new BApplication("application/x-vnd.Be-MAND");
|
BApplication* app = new BApplication("application/x-vnd.Haiku-Mandelbrot");
|
||||||
|
|
||||||
BWindow* window = new TMainWindow(BRect(100, 100, 288, 288), "Mandelbrot",
|
BWindow* window = new TMainWindow(BRect(100, 100, 288, 288), "Mandelbrot",
|
||||||
B_DOCUMENT_WINDOW, B_WILL_ACCEPT_FIRST_CLICK);
|
B_DOCUMENT_WINDOW, B_WILL_ACCEPT_FIRST_CLICK);
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ resource mini_icon {
|
|||||||
|
|
||||||
#endif // !HAIKU_TARGET_PLATFORM_HAIKU
|
#endif // !HAIKU_TARGET_PLATFORM_HAIKU
|
||||||
|
|
||||||
resource app_signature "application/x-vnd.Be-MAND";
|
resource app_signature "application/x-vnd.Haiku-Mandelbrot";
|
||||||
|
|
||||||
resource app_flags B_MULTIPLE_LAUNCH;
|
resource app_flags B_MULTIPLE_LAUNCH;
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
#include "Pairs.h"
|
#include "Pairs.h"
|
||||||
#include "PairsWindow.h"
|
#include "PairsWindow.h"
|
||||||
|
|
||||||
const char* kSignature = "application/x-vnd.haiku-Pairs";
|
const char* kSignature = "application/x-vnd.Haiku-Pairs";
|
||||||
|
|
||||||
|
|
||||||
Pairs::Pairs()
|
Pairs::Pairs()
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* Pairs.rdef
|
* Pairs.rdef
|
||||||
*/
|
*/
|
||||||
|
|
||||||
resource app_signature "application/x-vnd.haiku-Pairs";
|
resource app_signature "application/x-vnd.Haiku-Pairs";
|
||||||
|
|
||||||
resource app_flags B_SINGLE_LAUNCH;
|
resource app_flags B_SINGLE_LAUNCH;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
resource app_signature "application/x-vnd.haiku.PoorMan";
|
resource app_signature "application/x-vnd.Haiku.PoorMan";
|
||||||
|
|
||||||
resource app_version
|
resource app_version
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
// ------------------------------------------------------
|
// ------------------------------------------------------
|
||||||
// PoorMan Window
|
// PoorMan Window
|
||||||
extern const char* STR_APP_SIG
|
extern const char* STR_APP_SIG
|
||||||
= "application/x-vnd.haiku.PoorMan";
|
= "application/x-vnd.Haiku.PoorMan";
|
||||||
char* STR_APP_NAME
|
char* STR_APP_NAME
|
||||||
= "PoorMan";
|
= "PoorMan";
|
||||||
extern const char* STR_ERR_WEB_DIR
|
extern const char* STR_ERR_WEB_DIR
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ class PCApplication : public BApplication {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
const char* kSignature = "application/x-vnd.Geb-ProcessController";
|
const char* kSignature = "application/x-vnd.Haiku-ProcessController";
|
||||||
const char* kTrackerSig = "application/x-vnd.Be-TRAK";
|
const char* kTrackerSig = "application/x-vnd.Be-TRAK";
|
||||||
const char* kDeskbarSig = "application/x-vnd.Be-TSKB";
|
const char* kDeskbarSig = "application/x-vnd.Be-TSKB";
|
||||||
const char* kTerminalSig = "application/x-vnd.Haiku-Terminal";
|
const char* kTerminalSig = "application/x-vnd.Haiku-Terminal";
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
resource app_signature "application/x-vnd.Geb-ProcessController";
|
resource app_signature "application/x-vnd.Haiku-ProcessController";
|
||||||
|
|
||||||
resource app_version {
|
resource app_version {
|
||||||
major = 3,
|
major = 3,
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Screenshot::Screenshot()
|
Screenshot::Screenshot()
|
||||||
: BApplication("application/x-vnd.haiku-screenshot"),
|
: BApplication("application/x-vnd.Haiku-Screenshot"),
|
||||||
fArgvReceived(false),
|
fArgvReceived(false),
|
||||||
fRefsReceived(false)
|
fRefsReceived(false)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
resource app_signature "application/x-vnd.haiku-screenshot";
|
resource app_signature "application/x-vnd.Haiku-Screenshot";
|
||||||
|
|
||||||
resource app_flags B_MULTIPLE_LAUNCH;
|
resource app_flags B_MULTIPLE_LAUNCH;
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
#define GLOBAL_DEFS_H
|
#define GLOBAL_DEFS_H
|
||||||
|
|
||||||
|
|
||||||
#define APP_SIGNATURE "application/x-vnd.mahlzeit.trackergrep"
|
#define APP_SIGNATURE "application/x-vnd.Haiku.TextSearch"
|
||||||
#define APP_NAME "TextSearch"
|
#define APP_NAME "TextSearch"
|
||||||
|
|
||||||
#define PREFS_FILE "TextSearch"
|
#define PREFS_FILE "TextSearch"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* TextSearch.rdef
|
* TextSearch.rdef
|
||||||
*/
|
*/
|
||||||
|
|
||||||
resource app_signature "application/x-vnd.mahlzeit.trackergrep";
|
resource app_signature "application/x-vnd.Haiku.TextSearch";
|
||||||
|
|
||||||
resource app_version {
|
resource app_version {
|
||||||
major = 5,
|
major = 5,
|
||||||
@@ -12,8 +12,8 @@ resource app_version {
|
|||||||
variety = B_APPV_FINAL,
|
variety = B_APPV_FINAL,
|
||||||
internal = 0,
|
internal = 0,
|
||||||
|
|
||||||
short_info = "Context search using Grep",
|
short_info = "Text search using Grep",
|
||||||
long_info = "Context search in Tracker, a GUI wrapper of /bin/grep."
|
long_info = "Text search in Tracker, a GUI wrapper of /bin/grep."
|
||||||
};
|
};
|
||||||
|
|
||||||
resource app_flags B_SINGLE_LAUNCH;
|
resource app_flags B_SINGLE_LAUNCH;
|
||||||
|
|||||||
@@ -34,6 +34,6 @@
|
|||||||
#define BUILD __DATE__ " "__TIME__
|
#define BUILD __DATE__ " "__TIME__
|
||||||
#define COPYRIGHT B_UTF8_COPYRIGHT" Marcus Overhagen 2005-2007"
|
#define COPYRIGHT B_UTF8_COPYRIGHT" Marcus Overhagen 2005-2007"
|
||||||
#define INFO1 "DVB - Digital Video Broadcasting TV"
|
#define INFO1 "DVB - Digital Video Broadcasting TV"
|
||||||
#define APP_SIG "application/x-vnd.MarcusOverhagen."NAME
|
#define APP_SIG "application/x-vnd.Haiku."NAME
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
* Icon-O-Matic.rdef
|
* Icon-O-Matic.rdef
|
||||||
*/
|
*/
|
||||||
|
|
||||||
resource app_signature "application/x-vnd.MarcusOverhagen.TV";
|
resource app_signature "application/x-vnd.Haiku.TV";
|
||||||
|
|
||||||
resource app_version {
|
resource app_version {
|
||||||
major = 1,
|
major = 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user