From 70fa61adbb4acb3c27cd34838a2162fe848f8ec9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 6 Jul 2007 10:35:17 +0000 Subject: [PATCH] * Removed the _IMPEXP* stuff from the headers Ingo clearly identified as ours. * Removed storage/Alias.h as that stuff isn't even available on BeOS. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21576 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/app/Messenger.h | 6 +++--- headers/os/game/WindowScreen.h | 4 ++-- headers/os/interface/Point.h | 5 ++++- headers/os/storage/Alias.h | 33 --------------------------------- 4 files changed, 9 insertions(+), 39 deletions(-) delete mode 100644 headers/os/storage/Alias.h diff --git a/headers/os/app/Messenger.h b/headers/os/app/Messenger.h index b9e51c3613..f6be0930c7 100644 --- a/headers/os/app/Messenger.h +++ b/headers/os/app/Messenger.h @@ -1,5 +1,5 @@ /* - * Copyright 2001-2005, Haiku, Inc. All Rights Reserved. + * Copyright 2001-2007, Haiku, Inc. All Rights Reserved. * Distributed under the terms of the MIT License. * * Authors: @@ -73,7 +73,7 @@ private: int32 _reserved[3]; }; -_IMPEXP_BE bool operator<(const BMessenger &a, const BMessenger &b); -_IMPEXP_BE bool operator!=(const BMessenger &a, const BMessenger &b); +bool operator<(const BMessenger &a, const BMessenger &b); +bool operator!=(const BMessenger &a, const BMessenger &b); #endif // _MESSENGER_H diff --git a/headers/os/game/WindowScreen.h b/headers/os/game/WindowScreen.h index 867a330f24..1c070aafc6 100644 --- a/headers/os/game/WindowScreen.h +++ b/headers/os/game/WindowScreen.h @@ -1,5 +1,5 @@ /* - * Copyright 2006, Haiku, Inc. All Rights Reserved. + * Copyright 2006-2007, Haiku, Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _WINDOW_SCREEN_H @@ -14,7 +14,7 @@ #include -_IMPEXP_GAME void set_mouse_position(int32 x, int32 y); +void set_mouse_position(int32 x, int32 y); // Controls the mouse cursor position on screen diff --git a/headers/os/interface/Point.h b/headers/os/interface/Point.h index 609f999d03..9ad7df133b 100644 --- a/headers/os/interface/Point.h +++ b/headers/os/interface/Point.h @@ -8,6 +8,7 @@ #ifndef _POINT_H #define _POINT_H + #include #include @@ -39,7 +40,9 @@ public: bool operator==(const BPoint &p) const; }; -extern _IMPEXP_BE const BPoint B_ORIGIN; // returns (0,0) + +extern const BPoint B_ORIGIN; + // returns (0,0) inline diff --git a/headers/os/storage/Alias.h b/headers/os/storage/Alias.h deleted file mode 100644 index df5c3ce327..0000000000 --- a/headers/os/storage/Alias.h +++ /dev/null @@ -1,33 +0,0 @@ -/*************************************************************************** -// -// File: Alias.h -// -// Description: path->alias->path functions -// -// Copyright 1992-98, Be Incorporated, All Rights Reserved. -// -***************************************************************************/ - -#ifndef _ALIAS_H -#define _ALIAS_H - -#ifndef _BE_BUILD_H -#include -#endif -#include - -class BPath; -class BDataIO; - -_IMPEXP_BE status_t resolve_link(const char *path, BPath *result, - bool block = false); -_IMPEXP_BE status_t write_alias(const char *path, BDataIO *s, - size_t *len = NULL); -_IMPEXP_BE status_t write_alias(const char *path, void *buf, size_t *len); - -_IMPEXP_BE status_t read_alias(BDataIO *s, BPath *result, size_t *len = NULL, - bool block = false); -_IMPEXP_BE status_t read_alias(const void *buf, BPath *result, size_t *len, - bool block = false); - -#endif