* Rewrote BeBuild.h which had "a few" consequences (got rid of all those class
definitions). * Minor cleanup here and there. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22577 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -204,6 +204,7 @@ ModeList::AddModes(edid1_info* info)
|
||||
if (info->detailed_monitor[i].monitor_desc_type != EDID1_IS_DETAILED_TIMING)
|
||||
continue;
|
||||
|
||||
// TODO: handle sync and flags correctly!
|
||||
const edid1_detailed_timing& timing = info->detailed_monitor[i].data.detailed_timing;
|
||||
display_mode mode;
|
||||
mode.timing.pixel_clock = timing.pixel_clock * 10;
|
||||
|
||||
@@ -21,11 +21,11 @@
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __DVB_MEDIA_NODE_H
|
||||
#define __DVB_MEDIA_NODE_H
|
||||
|
||||
#include <kernel/OS.h>
|
||||
|
||||
#include <OS.h>
|
||||
#include <media/BufferProducer.h>
|
||||
#include <media/Controllable.h>
|
||||
#include <media/MediaDefs.h>
|
||||
@@ -39,14 +39,13 @@
|
||||
#include "StringList.h"
|
||||
|
||||
class BDiscreteParameter;
|
||||
class BParameterGroup;
|
||||
class PacketQueue;
|
||||
class DVBCard;
|
||||
|
||||
class DVBMediaNode :
|
||||
public virtual BBufferProducer,
|
||||
public virtual BControllable,
|
||||
public virtual BMediaEventLooper
|
||||
{
|
||||
|
||||
class DVBMediaNode : public virtual BBufferProducer,
|
||||
public virtual BControllable, public virtual BMediaEventLooper {
|
||||
public:
|
||||
DVBMediaNode(BMediaAddOn *addon,
|
||||
const char *name, int32 internal_id, DVBCard *card);
|
||||
@@ -287,4 +286,4 @@ private:
|
||||
int fRawAudioFile;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // __DVB_MEDIA_NODE_H
|
||||
|
||||
@@ -5,16 +5,18 @@
|
||||
#ifndef _MIXER_SETTINGS_H
|
||||
#define _MIXER_SETTINGS_H
|
||||
|
||||
|
||||
#include <Message.h>
|
||||
#include <Path.h>
|
||||
|
||||
class BLocker;
|
||||
class MixerInput;
|
||||
class MixerOutput;
|
||||
|
||||
|
||||
#define MAX_INPUT_SETTINGS 50
|
||||
|
||||
class MixerSettings
|
||||
{
|
||||
class MixerSettings {
|
||||
public:
|
||||
MixerSettings();
|
||||
~MixerSettings();
|
||||
@@ -63,7 +65,7 @@ class MixerSettings
|
||||
|
||||
static int32 _save_thread_(void *arg);
|
||||
void SaveThread();
|
||||
|
||||
|
||||
BLocker *fLocker;
|
||||
BPath *fSettingsFile;
|
||||
volatile bool fSettingsDirty;
|
||||
@@ -72,8 +74,7 @@ class MixerSettings
|
||||
volatile sem_id fSaveThreadWaitSem;
|
||||
volatile bool fSaveThreadRunning;
|
||||
|
||||
struct settings
|
||||
{
|
||||
struct settings {
|
||||
bool AttenuateOutput;
|
||||
bool NonLinearGainSlider;
|
||||
bool UseBalanceControl;
|
||||
@@ -91,4 +92,4 @@ class MixerSettings
|
||||
BMessage fInputSetting[MAX_INPUT_SETTINGS];
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // _MIXER_SETTINGS_H
|
||||
|
||||
@@ -1,20 +1,30 @@
|
||||
#ifndef _CAM_DEVICE_H
|
||||
#define _CAM_DEVICE_H
|
||||
|
||||
|
||||
#include <OS.h>
|
||||
#include <image.h>
|
||||
#ifdef __HAIKU__
|
||||
# include <USB3.h>
|
||||
# include <USBKit.h>
|
||||
# include <USB3.h>
|
||||
# include <USBKit.h>
|
||||
#else
|
||||
# include <USB.h>
|
||||
# include <usb/USBKit.h>
|
||||
# include <USB.h>
|
||||
# include <usb/USBKit.h>
|
||||
#endif
|
||||
#include <Locker.h>
|
||||
#include <MediaAddOn.h>
|
||||
#include <String.h>
|
||||
#include <Rect.h>
|
||||
|
||||
class BBitmap;
|
||||
class BBuffer;
|
||||
class BDataIO;
|
||||
class CamRoster;
|
||||
class CamDeviceAddon;
|
||||
class CamSensor;
|
||||
class CamDeframer;
|
||||
class WebCamMediaAddOn;
|
||||
|
||||
|
||||
typedef struct {
|
||||
usb_support_descriptor desc;
|
||||
@@ -22,17 +32,8 @@ typedef struct {
|
||||
const char *product;
|
||||
} usb_named_support_descriptor;
|
||||
|
||||
class CamRoster;
|
||||
class CamDeviceAddon;
|
||||
class CamSensor;
|
||||
class CamDeframer;
|
||||
class WebCamMediaAddOn;
|
||||
class BBitmap;
|
||||
class BBuffer;
|
||||
|
||||
// This class represents each webcam
|
||||
class CamDevice
|
||||
{
|
||||
class CamDevice {
|
||||
public:
|
||||
CamDevice(CamDeviceAddon &_addon, BUSBDevice* _device);
|
||||
virtual ~CamDevice();
|
||||
@@ -109,7 +110,7 @@ class CamDevice
|
||||
const BUSBEndpoint* fBulkIn;
|
||||
|
||||
private:
|
||||
friend class CamDeviceAddon;
|
||||
friend class CamDeviceAddon;
|
||||
CamDeviceAddon& fCamDeviceAddon;
|
||||
BUSBDevice* fDevice;
|
||||
int fSupportedDeviceIndex;
|
||||
@@ -124,8 +125,7 @@ friend class CamDeviceAddon;
|
||||
|
||||
// the addon itself, that instanciate
|
||||
|
||||
class CamDeviceAddon
|
||||
{
|
||||
class CamDeviceAddon {
|
||||
public:
|
||||
CamDeviceAddon(WebCamMediaAddOn* webcam);
|
||||
virtual ~CamDeviceAddon();
|
||||
@@ -135,7 +135,8 @@ class CamDeviceAddon
|
||||
virtual CamDevice* Instantiate(CamRoster &roster, BUSBDevice *from);
|
||||
|
||||
void SetSupportedDevices(const usb_named_support_descriptor *devs);
|
||||
const usb_named_support_descriptor* SupportedDevices() const { return fSupportedDevices; };
|
||||
const usb_named_support_descriptor* SupportedDevices() const
|
||||
{ return fSupportedDevices; };
|
||||
WebCamMediaAddOn* WebCamAddOn() const { return fWebCamAddOn; };
|
||||
|
||||
private:
|
||||
@@ -148,8 +149,8 @@ class CamDeviceAddon
|
||||
get_webcam_addon_##modname
|
||||
|
||||
// external addons -- UNIMPLEMENTED
|
||||
extern "C" status_t get_webcam_addon(WebCamMediaAddOn* webcam, CamDeviceAddon **addon);
|
||||
extern "C" status_t get_webcam_addon(WebCamMediaAddOn* webcam,
|
||||
CamDeviceAddon **addon);
|
||||
#define B_WEBCAM_ADDON_INSTANTIATION_FUNC_NAME "get_webcam_addon"
|
||||
|
||||
|
||||
#endif // _CAM_DEVICE_H
|
||||
|
||||
@@ -25,18 +25,21 @@
|
||||
#ifndef _FALLBACK_INDEX_H
|
||||
#define _FALLBACK_INDEX_H
|
||||
|
||||
|
||||
#include "Index.h"
|
||||
|
||||
class FallbackIndex : public Index
|
||||
{
|
||||
|
||||
class FallbackIndex : public Index {
|
||||
public:
|
||||
FallbackIndex(BPositionIO *source, OpenDMLParser *parser);
|
||||
~FallbackIndex();
|
||||
FallbackIndex(BPositionIO *source, OpenDMLParser *parser);
|
||||
~FallbackIndex();
|
||||
|
||||
status_t Init();
|
||||
status_t Init();
|
||||
|
||||
status_t GetNextChunkInfo(int stream_index, int64 *start, uint32 *size, bool *keyframe);
|
||||
status_t Seek(int stream_index, uint32 seekTo, int64 *frame, bigtime_t *time);
|
||||
status_t GetNextChunkInfo(int stream_index, int64 *start,
|
||||
uint32 *size, bool *keyframe);
|
||||
status_t Seek(int stream_index, uint32 seekTo, int64 *frame,
|
||||
bigtime_t *time);
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // _FALLBACK_INDEX_H
|
||||
|
||||
@@ -25,22 +25,28 @@
|
||||
#ifndef _INDEX_H
|
||||
#define _INDEX_H
|
||||
|
||||
|
||||
#include <SupportDefs.h>
|
||||
|
||||
class BPositionIO;
|
||||
class OpenDMLParser;
|
||||
|
||||
class Index
|
||||
{
|
||||
|
||||
class Index {
|
||||
public:
|
||||
Index(BPositionIO *source, OpenDMLParser *parser);
|
||||
virtual ~Index();
|
||||
|
||||
virtual status_t Init() = 0;
|
||||
|
||||
virtual status_t GetNextChunkInfo(int stream_index, int64 *start, uint32 *size, bool *keyframe) = 0;
|
||||
virtual status_t Seek(int stream_index, uint32 seekTo, int64 *frame, bigtime_t *time) = 0;
|
||||
virtual status_t GetNextChunkInfo(int stream_index, int64 *start,
|
||||
uint32 *size, bool *keyframe) = 0;
|
||||
virtual status_t Seek(int stream_index, uint32 seekTo, int64 *frame,
|
||||
bigtime_t *time) = 0;
|
||||
|
||||
protected:
|
||||
BPositionIO * fSource;
|
||||
OpenDMLParser * fParser;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // _INDEX_H
|
||||
|
||||
@@ -3,9 +3,12 @@
|
||||
|
||||
#include "ReaderPlugin.h"
|
||||
#include "ogg/ogg.h"
|
||||
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
class BFile;
|
||||
|
||||
namespace BPrivate { namespace media {
|
||||
|
||||
class OggTrack;
|
||||
@@ -13,8 +16,7 @@ class OggTrack;
|
||||
typedef std::map<long,OggTrack*> serialno_OggTrack_map;
|
||||
typedef std::vector<long> serialno_vector;
|
||||
|
||||
class OggReader : public Reader
|
||||
{
|
||||
class OggReader : public Reader {
|
||||
public:
|
||||
OggReader();
|
||||
~OggReader();
|
||||
@@ -59,8 +61,7 @@ public:
|
||||
};
|
||||
};
|
||||
|
||||
class OggReaderPlugin : public ReaderPlugin
|
||||
{
|
||||
class OggReaderPlugin : public ReaderPlugin {
|
||||
public:
|
||||
Reader *NewReader();
|
||||
};
|
||||
@@ -69,4 +70,4 @@ public:
|
||||
|
||||
using namespace BPrivate::media;
|
||||
|
||||
#endif
|
||||
#endif // _OGG_READER_PLUGIN_H
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
class BFile;
|
||||
class BDirectory;
|
||||
class BRect;
|
||||
class Settings;
|
||||
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#include <InterfaceDefs.h>
|
||||
#include <Region.h>
|
||||
|
||||
class BMessage;
|
||||
class BView;
|
||||
|
||||
#include "cortex_defs.h"
|
||||
|
||||
@@ -16,6 +16,10 @@
|
||||
#include "InfoView.h"
|
||||
|
||||
#include "cortex_defs.h"
|
||||
|
||||
|
||||
struct dormant_node_info;
|
||||
|
||||
__BEGIN_CORTEX_NAMESPACE
|
||||
|
||||
class NodeRef;
|
||||
|
||||
@@ -13,15 +13,20 @@
|
||||
#ifndef __InfoWindowManager_H__
|
||||
#define __InfoWindowManager_H__
|
||||
|
||||
// Application Kit
|
||||
#include <Looper.h>
|
||||
// Interface Kit
|
||||
#include <Point.h>
|
||||
|
||||
class BList;
|
||||
class BWindow;
|
||||
|
||||
#include "cortex_defs.h"
|
||||
|
||||
struct dormant_node_info;
|
||||
struct media_destination;
|
||||
struct media_input;
|
||||
struct media_output;
|
||||
struct media_source;
|
||||
|
||||
__BEGIN_CORTEX_NAMESPACE
|
||||
|
||||
class Connection;
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
// Media Kit
|
||||
#include <MediaNode.h>
|
||||
|
||||
class BMediaTheme;
|
||||
class BMessenger;
|
||||
|
||||
#include "cortex_defs.h"
|
||||
|
||||
@@ -20,49 +20,43 @@
|
||||
#include "cortex_defs.h"
|
||||
__BEGIN_CORTEX_NAMESPACE
|
||||
|
||||
class BDataIO;
|
||||
class IPersistent;
|
||||
class ExportContext;
|
||||
|
||||
// writeAttr() helper
|
||||
inline BString& _pad_with_spaces(
|
||||
BString& out,
|
||||
const char* text,
|
||||
ExportContext& context,
|
||||
uint16 column);
|
||||
|
||||
inline BString& _pad_with_spaces(BString& out, const char* text,
|
||||
ExportContext& context, uint16 column);
|
||||
|
||||
|
||||
class ExportContext {
|
||||
public: // *** ctor/dtor
|
||||
virtual ~ExportContext();
|
||||
public:
|
||||
ExportContext();
|
||||
ExportContext(
|
||||
BDataIO* _stream);
|
||||
|
||||
public: // *** public members
|
||||
ExportContext(BDataIO* stream);
|
||||
virtual ~ExportContext();
|
||||
|
||||
// the output stream
|
||||
BDataIO* stream;
|
||||
|
||||
BDataIO* stream;
|
||||
|
||||
// the element stack
|
||||
struct element_entry {
|
||||
element_entry() : hasAttributes(false), hasContent(false) {}
|
||||
|
||||
BString name;
|
||||
bool hasAttributes;
|
||||
bool hasContent;
|
||||
|
||||
BString name;
|
||||
bool hasAttributes;
|
||||
bool hasContent;
|
||||
};
|
||||
|
||||
typedef std::list<element_entry> element_list;
|
||||
element_list m_elementStack;
|
||||
|
||||
typedef std::list<element_entry> element_list;
|
||||
element_list m_elementStack;
|
||||
|
||||
public: // *** XML formatting helpers
|
||||
|
||||
// writes a start tag. should be called from
|
||||
// IPersistent::xmlExportBegin()
|
||||
// (or xmlExportContent(), if you're writing nested elements)
|
||||
|
||||
void beginElement(
|
||||
const char* name);
|
||||
void beginElement(const char* name);
|
||||
|
||||
// writes an end tag corresponding to the current element.
|
||||
// should only be called from IPersistent::xmlExportEnd() or
|
||||
|
||||
@@ -21,6 +21,9 @@
|
||||
#include "IStateArchivable.h"
|
||||
|
||||
#include "cortex_defs.h"
|
||||
|
||||
class BMenu;
|
||||
|
||||
__BEGIN_CORTEX_NAMESPACE
|
||||
|
||||
class MediaRoutingView;
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#include <PopUpMenu.h>
|
||||
|
||||
class BButton;
|
||||
class BInvoker;
|
||||
class BStringView;
|
||||
class BTextControl;
|
||||
class BMenuField;
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <Mime.h>
|
||||
|
||||
class BRegion;
|
||||
struct dormant_flavor_info;
|
||||
|
||||
#include "cortex_defs.h"
|
||||
__BEGIN_CORTEX_NAMESPACE
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2004-2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
||||
* Copyright 2004-2007, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef DATA_EDITOR_H
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
class BHandler;
|
||||
class BLooper;
|
||||
class BMessage;
|
||||
class BMessenger;
|
||||
|
||||
class DataChange;
|
||||
|
||||
@@ -2876,11 +2876,7 @@ _TrackerLaunchAppWithDocuments(const entry_ref *appRef, const BMessage *refs, bo
|
||||
}
|
||||
|
||||
extern "C" char** environ;
|
||||
extern "C"
|
||||
#if !B_BEOS_VERSION_DANO
|
||||
_IMPEXP_ROOT
|
||||
#endif
|
||||
status_t _kload_image_etc_(int argc, char **argv, char **envp,
|
||||
extern "C" status_t _kload_image_etc_(int argc, char **argv, char **envp,
|
||||
char *buf, int bufsize);
|
||||
|
||||
|
||||
@@ -3103,9 +3099,6 @@ LaunchBrokenLink(const char *signature, const BMessage *refs)
|
||||
|
||||
// external launch calls; need to be robust, work if Tracker is not running
|
||||
|
||||
#if !B_BEOS_VERSION_DANO
|
||||
_IMPEXP_TRACKER
|
||||
#endif
|
||||
status_t
|
||||
FSLaunchItem(const entry_ref *application, const BMessage *refsReceived,
|
||||
bool async, bool openWithOK)
|
||||
@@ -3114,9 +3107,6 @@ FSLaunchItem(const entry_ref *application, const BMessage *refsReceived,
|
||||
}
|
||||
|
||||
|
||||
#if !B_BEOS_VERSION_DANO
|
||||
_IMPEXP_TRACKER
|
||||
#endif
|
||||
status_t
|
||||
FSOpenWith(BMessage *listOfRefs)
|
||||
{
|
||||
|
||||
@@ -145,26 +145,23 @@ TrackerCopyLoopControl::TrackerCopyLoopControl(thread_id thread)
|
||||
|
||||
#define B_DESKTOP_DIR_NAME "Desktop"
|
||||
|
||||
#if B_BEOS_VERSION_DANO
|
||||
#define _IMPEXP_TRACKER
|
||||
#endif
|
||||
_IMPEXP_TRACKER status_t FSCopyAttributesAndStats(BNode *, BNode *);
|
||||
status_t FSCopyAttributesAndStats(BNode *, BNode *);
|
||||
|
||||
_IMPEXP_TRACKER status_t FSCopyFile(BEntry* srcFile, StatStruct *srcStat, BDirectory* destDir,
|
||||
status_t FSCopyFile(BEntry* srcFile, StatStruct *srcStat, BDirectory* destDir,
|
||||
CopyLoopControl *loopControl, BPoint *loc, bool makeOriginalName, Undo &undo);
|
||||
_IMPEXP_TRACKER status_t FSCopyFolder(BEntry *srcEntry, BDirectory *destDir, CopyLoopControl *loopControl,
|
||||
status_t FSCopyFolder(BEntry *srcEntry, BDirectory *destDir, CopyLoopControl *loopControl,
|
||||
BPoint *loc, bool makeOriginalName, Undo &undo);
|
||||
_IMPEXP_TRACKER void FSDuplicate(BObjectList<entry_ref> *srcList, BList *pointList);
|
||||
_IMPEXP_TRACKER void FSMoveToFolder(BObjectList<entry_ref> *srcList, BEntry *, uint32 moveMode,
|
||||
void FSDuplicate(BObjectList<entry_ref> *srcList, BList *pointList);
|
||||
void FSMoveToFolder(BObjectList<entry_ref> *srcList, BEntry *, uint32 moveMode,
|
||||
BList *pointList = NULL);
|
||||
_IMPEXP_TRACKER void FSMakeOriginalName(char *name, BDirectory *destDir, const char *suffix);
|
||||
_IMPEXP_TRACKER bool FSIsTrashDir(const BEntry *);
|
||||
_IMPEXP_TRACKER bool FSIsPrintersDir(const BEntry *);
|
||||
_IMPEXP_TRACKER bool FSIsDeskDir(const BEntry *);
|
||||
_IMPEXP_TRACKER bool FSIsSystemDir(const BEntry *);
|
||||
_IMPEXP_TRACKER bool FSIsBeOSDir(const BEntry *);
|
||||
_IMPEXP_TRACKER bool FSIsHomeDir(const BEntry *);
|
||||
_IMPEXP_TRACKER void FSMoveToTrash(BObjectList<entry_ref> *srcList, BList *pointList = NULL,
|
||||
void FSMakeOriginalName(char *name, BDirectory *destDir, const char *suffix);
|
||||
bool FSIsTrashDir(const BEntry *);
|
||||
bool FSIsPrintersDir(const BEntry *);
|
||||
bool FSIsDeskDir(const BEntry *);
|
||||
bool FSIsSystemDir(const BEntry *);
|
||||
bool FSIsBeOSDir(const BEntry *);
|
||||
bool FSIsHomeDir(const BEntry *);
|
||||
void FSMoveToTrash(BObjectList<entry_ref> *srcList, BList *pointList = NULL,
|
||||
bool async = true);
|
||||
// Deprecated
|
||||
|
||||
@@ -172,23 +169,23 @@ void FSDeleteRefList(BObjectList<entry_ref> *, bool, bool confirm = true);
|
||||
void FSDelete(entry_ref *, bool, bool confirm = true);
|
||||
void FSRestoreRefList(BObjectList<entry_ref> *list, bool async);
|
||||
|
||||
_IMPEXP_TRACKER status_t FSLaunchItem(const entry_ref *application, const BMessage *refsReceived,
|
||||
status_t FSLaunchItem(const entry_ref *application, const BMessage *refsReceived,
|
||||
bool async, bool openWithOK);
|
||||
// Preferred way of launching; only pass an actual application in <application>, not
|
||||
// a document; to open documents with the preferred app, pase 0 in <application> and
|
||||
// stuff all the document refs into <refsReceived>
|
||||
// Consider having silent mode that does not show alerts, just returns error code
|
||||
|
||||
_IMPEXP_TRACKER status_t FSOpenWith(BMessage *listOfRefs);
|
||||
status_t FSOpenWith(BMessage *listOfRefs);
|
||||
// runs the Open With window; pas a list of refs
|
||||
|
||||
_IMPEXP_TRACKER void FSEmptyTrash();
|
||||
_IMPEXP_TRACKER status_t FSCreateNewFolderIn(const node_ref *destDir, entry_ref *newRef,
|
||||
void FSEmptyTrash();
|
||||
status_t FSCreateNewFolderIn(const node_ref *destDir, entry_ref *newRef,
|
||||
node_ref *new_node);
|
||||
_IMPEXP_TRACKER void FSCreateTrashDirs();
|
||||
_IMPEXP_TRACKER status_t FSGetTrashDir(BDirectory *trashDir, dev_t volume);
|
||||
_IMPEXP_TRACKER status_t FSGetDeskDir(BDirectory *deskDir, dev_t volume);
|
||||
_IMPEXP_TRACKER status_t FSRecursiveCalcSize(BInfoWindow *, BDirectory *,
|
||||
void FSCreateTrashDirs();
|
||||
status_t FSGetTrashDir(BDirectory *trashDir, dev_t volume);
|
||||
status_t FSGetDeskDir(BDirectory *deskDir, dev_t volume);
|
||||
status_t FSRecursiveCalcSize(BInfoWindow *, BDirectory *,
|
||||
off_t *runningSize, int32 *fileCount, int32 *dirCount);
|
||||
|
||||
bool FSInTrashDir(const entry_ref *);
|
||||
@@ -236,12 +233,12 @@ bool ConfirmChangeIfWellKnownDirectory(const BEntry *entry, const char *action,
|
||||
bool dontAsk = false, int32 *confirmedAlready = NULL);
|
||||
|
||||
// Deprecated calls use newer calls above instead
|
||||
_IMPEXP_TRACKER void FSLaunchItem(const entry_ref *, BMessage * = NULL, int32 workspace = -1);
|
||||
_IMPEXP_TRACKER status_t FSLaunchItem(const entry_ref *, BMessage *,
|
||||
void FSLaunchItem(const entry_ref *, BMessage * = NULL, int32 workspace = -1);
|
||||
status_t FSLaunchItem(const entry_ref *, BMessage *,
|
||||
int32 workspace, bool asynch);
|
||||
_IMPEXP_TRACKER void FSOpenWithDocuments(const entry_ref *executableToLaunch,
|
||||
void FSOpenWithDocuments(const entry_ref *executableToLaunch,
|
||||
BMessage *documentEntryRefs);
|
||||
_IMPEXP_TRACKER status_t FSLaunchUsing(const entry_ref *ref, BMessage *listOfRefs);
|
||||
status_t FSLaunchUsing(const entry_ref *ref, BMessage *listOfRefs);
|
||||
|
||||
|
||||
// some extra directory_which values
|
||||
|
||||
@@ -46,10 +46,11 @@ All rights reserved.
|
||||
#include <View.h>
|
||||
|
||||
class BButton;
|
||||
class BComboBox;
|
||||
class BList;
|
||||
class BTextControl;
|
||||
class BTextView;
|
||||
class BWindow;
|
||||
class BComboBox;
|
||||
struct text_run_array;
|
||||
|
||||
typedef const char* (*text_input_filter_hook)(const char* inText, int32& length,
|
||||
|
||||
@@ -78,12 +78,13 @@ All rights reserved.
|
||||
#define BCC_FIELD_WIDTH 197
|
||||
#define BCC_FIELD_HEIGHT 16
|
||||
|
||||
class TTextControl;
|
||||
class BFile;
|
||||
class BMenuField;
|
||||
class BMenuItem;
|
||||
class BPopupMenu;
|
||||
class BPopUpMenu;
|
||||
class BStringView;
|
||||
class QPopupMenu;
|
||||
class TTextControl;
|
||||
|
||||
|
||||
class THeaderView : public BBox {
|
||||
|
||||
@@ -60,6 +60,7 @@ enum WINDOW_TYPES {
|
||||
|
||||
|
||||
class BFile;
|
||||
class BMenu;
|
||||
class Words;
|
||||
|
||||
|
||||
|
||||
@@ -57,6 +57,7 @@ class BEmailMessage;
|
||||
class BFile;
|
||||
class BFilePanel;
|
||||
class BMailMessage;
|
||||
class BMenu;
|
||||
class BMenuBar;
|
||||
class BMenuItem;
|
||||
class BmapButton;
|
||||
|
||||
+8
-13
@@ -31,19 +31,19 @@ of Be Incorporated in the United States and other countries. Other brand product
|
||||
names are registered trademarks or trademarks of their respective holders.
|
||||
All rights reserved.
|
||||
*/
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
//
|
||||
// Prefs.h
|
||||
//
|
||||
//--------------------------------------------------------------------
|
||||
|
||||
#ifndef _PREFS_H
|
||||
#define _PREFS_H
|
||||
|
||||
|
||||
#include <Font.h>
|
||||
#include <Window.h>
|
||||
|
||||
class BButton;
|
||||
class BMenu;
|
||||
class BPopUpMenu;
|
||||
class BTextControl;
|
||||
|
||||
|
||||
#define ACCOUNT_USE_DEFAULT 0
|
||||
#define ACCOUNT_FROM_MAIL 1
|
||||
|
||||
@@ -53,8 +53,7 @@ All rights reserved.
|
||||
#define SIG_NONE MDR_DIALECT_CHOICE ("None", "無し")
|
||||
#define SIG_RANDOM MDR_DIALECT_CHOICE ("Random", "自動選択")
|
||||
|
||||
struct EncodingItem
|
||||
{
|
||||
struct EncodingItem {
|
||||
char *name;
|
||||
uint32 flavor;
|
||||
};
|
||||
@@ -62,10 +61,6 @@ struct EncodingItem
|
||||
extern const EncodingItem kEncodings[];
|
||||
|
||||
|
||||
class Button;
|
||||
|
||||
//====================================================================
|
||||
|
||||
class TPrefsWindow : public BWindow {
|
||||
public:
|
||||
TPrefsWindow(BRect rect, BFont *font, int32 *level, bool *warp,
|
||||
|
||||
@@ -31,10 +31,10 @@ of Be Incorporated in the United States and other countries. Other brand product
|
||||
names are registered trademarks or trademarks of their respective holders.
|
||||
All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _QUERY_MENU
|
||||
#define _QUERY_MENU
|
||||
|
||||
|
||||
#include <Locker.h>
|
||||
#include <PopUpMenu.h>
|
||||
|
||||
@@ -44,6 +44,7 @@ class BLooper;
|
||||
class BQuery;
|
||||
class BVolume;
|
||||
class QHandler;
|
||||
struct entry_ref;
|
||||
|
||||
using std::vector;
|
||||
|
||||
|
||||
@@ -38,6 +38,8 @@ All rights reserved.
|
||||
#include <Messenger.h>
|
||||
#include <Window.h>
|
||||
|
||||
class BTextControl;
|
||||
|
||||
|
||||
#define INDEX_STATUS "_status"
|
||||
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
|
||||
#include <Application.h>
|
||||
|
||||
class BFile;
|
||||
|
||||
|
||||
#define B_PERSON_MIMETYPE "application/x-person"
|
||||
#define APP_SIG "application/x-vnd.Be-PEPL"
|
||||
|
||||
@@ -10,26 +10,25 @@
|
||||
* Michael Pfeiffer
|
||||
* Ryan Leavengood
|
||||
*/
|
||||
#ifndef _resizer_window_h
|
||||
#define _resizer_window_h
|
||||
#ifndef _RESIZER_WINDOW_H
|
||||
#define _RESIZER_WINDOW_H
|
||||
|
||||
|
||||
#include <Window.h>
|
||||
#include <View.h>
|
||||
|
||||
|
||||
class BTextControl;
|
||||
class BCheckBox;
|
||||
class BControl;
|
||||
class BTextControl;
|
||||
|
||||
|
||||
class ResizerWindow : public BWindow
|
||||
{
|
||||
class ResizerWindow : public BWindow {
|
||||
public:
|
||||
ResizerWindow(BMessenger target, int32 width, int32 height );
|
||||
|
||||
|
||||
virtual void MessageReceived(BMessage* msg);
|
||||
virtual bool QuitRequested();
|
||||
|
||||
|
||||
virtual ~ResizerWindow();
|
||||
|
||||
// the public message command constants ('what')
|
||||
@@ -39,6 +38,7 @@ class ResizerWindow : public BWindow
|
||||
kUpdateMsg,
|
||||
// provides the new size of the image in two "int32" fields "width" and "height"
|
||||
};
|
||||
|
||||
private:
|
||||
enum {
|
||||
kResolutionMsg = 'Rszr',
|
||||
@@ -46,11 +46,12 @@ class ResizerWindow : public BWindow
|
||||
kHeightModifiedMsg,
|
||||
kApplyMsg,
|
||||
};
|
||||
|
||||
void AddControl(BView* parent, BControl* control, float column2, BRect& rect);
|
||||
|
||||
void AddControl(BView* parent, BControl* control, float column2,
|
||||
BRect& rect);
|
||||
void AddSeparatorLine(BView* parent, BRect& rect);
|
||||
void LeftAlign(BControl* control);
|
||||
|
||||
|
||||
BTextControl* fWidth;
|
||||
BTextControl* fHeight;
|
||||
BCheckBox* fAspectRatio;
|
||||
@@ -62,4 +63,4 @@ class ResizerWindow : public BWindow
|
||||
BMessenger fTarget;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // _RESIZER_WINDOW_H
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
#include <String.h>
|
||||
#include <TextView.h>
|
||||
|
||||
|
||||
class BFile;
|
||||
class BHandler;
|
||||
class BMessenger;
|
||||
class BPositionIO;
|
||||
|
||||
|
||||
class StyledEditView : public BTextView {
|
||||
@@ -33,8 +33,8 @@ class StyledEditView : public BTextView {
|
||||
const text_run_array *runs = NULL);
|
||||
|
||||
void Reset();
|
||||
status_t GetStyledText(BPositionIO * stream);
|
||||
status_t WriteStyledEditFile(BFile * file);
|
||||
status_t GetStyledText(BPositionIO* stream);
|
||||
status_t WriteStyledEditFile(BFile* file);
|
||||
|
||||
void SetEncoding(uint32 encoding);
|
||||
uint32 GetEncoding() const;
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#include <View.h>
|
||||
|
||||
class SudokuField;
|
||||
struct entry_ref;
|
||||
|
||||
|
||||
enum {
|
||||
|
||||
@@ -21,19 +21,20 @@
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __CONTROLLER_H
|
||||
#define __CONTROLLER_H
|
||||
|
||||
|
||||
#include <Entry.h>
|
||||
#include <MediaDefs.h>
|
||||
#include <MediaNode.h>
|
||||
|
||||
class BDiscreteParameter;
|
||||
class BParameterWeb;
|
||||
class VideoView;
|
||||
class VideoNode;
|
||||
|
||||
class Controller
|
||||
{
|
||||
class Controller {
|
||||
public:
|
||||
Controller();
|
||||
virtual ~Controller();
|
||||
@@ -71,5 +72,4 @@ private:
|
||||
media_output fOutput;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
#endif // __CONTROLLER_H
|
||||
|
||||
+22
-36
@@ -21,17 +21,18 @@
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __VIDEO_NODE_H_
|
||||
#define __VIDEO_NODE_H_
|
||||
|
||||
|
||||
#include <BufferConsumer.h>
|
||||
#include <MediaEventLooper.h>
|
||||
|
||||
class BLocker;
|
||||
class VideoView;
|
||||
|
||||
class VideoNode : public BMediaEventLooper, public BBufferConsumer
|
||||
{
|
||||
|
||||
class VideoNode : public BMediaEventLooper, public BBufferConsumer {
|
||||
public:
|
||||
VideoNode(const char *name, VideoView *view);
|
||||
~VideoNode();
|
||||
@@ -53,45 +54,30 @@ protected:
|
||||
status_t GetNextInput(int32 *cookie, media_input *out_input);
|
||||
void DisposeInputCookie(int32 cookie);
|
||||
|
||||
status_t HandleMessage(
|
||||
int32 message,
|
||||
const void *data,
|
||||
size_t size);
|
||||
status_t HandleMessage(int32 message, const void *data, size_t size);
|
||||
|
||||
void HandleEvent(
|
||||
const media_timed_event *event,
|
||||
bigtime_t lateness,
|
||||
bool realTimeEvent);
|
||||
void HandleEvent(const media_timed_event *event,
|
||||
bigtime_t lateness, bool realTimeEvent);
|
||||
|
||||
status_t AcceptFormat(
|
||||
const media_destination &dst,
|
||||
media_format *format);
|
||||
status_t AcceptFormat(const media_destination &dst,
|
||||
media_format *format);
|
||||
|
||||
void ProducerDataStatus(
|
||||
const media_destination &dst,
|
||||
int32 status,
|
||||
bigtime_t at_media_time);
|
||||
void ProducerDataStatus(const media_destination &dst,
|
||||
int32 status, bigtime_t at_media_time);
|
||||
|
||||
status_t GetLatencyFor(
|
||||
const media_destination &dst,
|
||||
bigtime_t *out_latency,
|
||||
media_node_id *out_id);
|
||||
status_t GetLatencyFor(const media_destination &dst,
|
||||
bigtime_t *out_latency, media_node_id *out_id);
|
||||
|
||||
status_t Connected(
|
||||
const media_source &src,
|
||||
const media_destination &dst,
|
||||
const media_format &format,
|
||||
media_input *out_input);
|
||||
status_t Connected(const media_source &src,
|
||||
const media_destination &dst,
|
||||
const media_format &format, media_input *out_input);
|
||||
|
||||
void Disconnected(
|
||||
const media_source &src,
|
||||
const media_destination &dst);
|
||||
void Disconnected(const media_source &src,
|
||||
const media_destination &dst);
|
||||
|
||||
status_t FormatChanged(
|
||||
const media_source &src,
|
||||
const media_destination &dst,
|
||||
int32 from_change_count,
|
||||
const media_format &format);
|
||||
status_t FormatChanged(const media_source &src,
|
||||
const media_destination &dst, int32 from_change_count,
|
||||
const media_format &format);
|
||||
|
||||
protected:
|
||||
void HandleBuffer(BBuffer *buffer);
|
||||
@@ -108,4 +94,4 @@ protected:
|
||||
BLocker * fBitmapLocker;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // __VIDEO_NODE_H_
|
||||
|
||||
+12
-11
@@ -21,23 +21,25 @@
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __VIDEO_VIEW_H
|
||||
#define __VIDEO_VIEW_H
|
||||
|
||||
|
||||
#include <View.h>
|
||||
|
||||
class BMessageRunner;
|
||||
class VideoNode;
|
||||
|
||||
class VideoView : public BView
|
||||
{
|
||||
|
||||
class VideoView : public BView {
|
||||
public:
|
||||
VideoView(BRect frame, const char *name, uint32 resizeMask, uint32 flags);
|
||||
VideoView(BRect frame, const char *name, uint32 resizeMask,
|
||||
uint32 flags);
|
||||
~VideoView();
|
||||
|
||||
|
||||
void RemoveVideoDisplay();
|
||||
void RemoveOverlay();
|
||||
|
||||
|
||||
VideoNode * Node();
|
||||
|
||||
bool IsOverlaySupported();
|
||||
@@ -47,18 +49,17 @@ public:
|
||||
|
||||
void OverlayScreenshotPrepare();
|
||||
void OverlayScreenshotCleanup();
|
||||
|
||||
|
||||
void DrawFrame();
|
||||
|
||||
private:
|
||||
void AttachedToWindow();
|
||||
void MessageReceived(BMessage *msg);
|
||||
void Draw(BRect updateRect);
|
||||
|
||||
void DrawTestImage();
|
||||
|
||||
void DrawTestImage();
|
||||
void CheckActivity();
|
||||
|
||||
|
||||
private:
|
||||
VideoNode * fVideoNode;
|
||||
bool fVideoActive;
|
||||
@@ -68,4 +69,4 @@ private:
|
||||
bigtime_t fLastFrame;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // __VIDEO_VIEW_H
|
||||
|
||||
@@ -1,16 +1,17 @@
|
||||
/*
|
||||
* Copyright 2007, François Revol, revol@free.fr.
|
||||
*
|
||||
* Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <Application.h>
|
||||
#include <InterfaceDefs.h>
|
||||
#include <String.h>
|
||||
|
||||
// this isn't public yet ?
|
||||
class BBitmap;
|
||||
|
||||
namespace BPrivate {
|
||||
int32 count_decorators(void);
|
||||
int32 get_decorator(void);
|
||||
|
||||
@@ -191,14 +191,14 @@ get_mode_parameter(uint32 mode, int32& width, int32& height, uint32& colorSpace)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE const color_map *
|
||||
const color_map *
|
||||
system_colors()
|
||||
{
|
||||
return BScreen(B_MAIN_SCREEN_ID).ColorMap();
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE status_t
|
||||
status_t
|
||||
set_screen_space(int32 index, uint32 space, bool stick)
|
||||
{
|
||||
int32 width;
|
||||
@@ -225,7 +225,7 @@ set_screen_space(int32 index, uint32 space, bool stick)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE status_t
|
||||
status_t
|
||||
get_scroll_bar_info(scroll_bar_info *info)
|
||||
{
|
||||
if (info == NULL)
|
||||
@@ -245,7 +245,7 @@ get_scroll_bar_info(scroll_bar_info *info)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE status_t
|
||||
status_t
|
||||
set_scroll_bar_info(scroll_bar_info *info)
|
||||
{
|
||||
if (info == NULL)
|
||||
@@ -265,7 +265,7 @@ set_scroll_bar_info(scroll_bar_info *info)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE status_t
|
||||
status_t
|
||||
get_mouse_type(int32 *type)
|
||||
{
|
||||
BMessage command(IS_GET_MOUSE_TYPE);
|
||||
@@ -280,7 +280,7 @@ get_mouse_type(int32 *type)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE status_t
|
||||
status_t
|
||||
set_mouse_type(int32 type)
|
||||
{
|
||||
BMessage command(IS_SET_MOUSE_TYPE);
|
||||
@@ -291,7 +291,7 @@ set_mouse_type(int32 type)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE status_t
|
||||
status_t
|
||||
get_mouse_map(mouse_map *map)
|
||||
{
|
||||
BMessage command(IS_GET_MOUSE_MAP);
|
||||
@@ -310,7 +310,7 @@ get_mouse_map(mouse_map *map)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE status_t
|
||||
status_t
|
||||
set_mouse_map(mouse_map *map)
|
||||
{
|
||||
BMessage command(IS_SET_MOUSE_MAP);
|
||||
@@ -321,7 +321,7 @@ set_mouse_map(mouse_map *map)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE status_t
|
||||
status_t
|
||||
get_click_speed(bigtime_t *speed)
|
||||
{
|
||||
BMessage command(IS_GET_CLICK_SPEED);
|
||||
@@ -336,7 +336,7 @@ get_click_speed(bigtime_t *speed)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE status_t
|
||||
status_t
|
||||
set_click_speed(bigtime_t speed)
|
||||
{
|
||||
BMessage command(IS_SET_CLICK_SPEED);
|
||||
@@ -346,7 +346,7 @@ set_click_speed(bigtime_t speed)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE status_t
|
||||
status_t
|
||||
get_mouse_speed(int32 *speed)
|
||||
{
|
||||
BMessage command(IS_GET_MOUSE_SPEED);
|
||||
@@ -361,7 +361,7 @@ get_mouse_speed(int32 *speed)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE status_t
|
||||
status_t
|
||||
set_mouse_speed(int32 speed)
|
||||
{
|
||||
BMessage command(IS_SET_MOUSE_SPEED);
|
||||
@@ -371,7 +371,7 @@ set_mouse_speed(int32 speed)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE status_t
|
||||
status_t
|
||||
get_mouse_acceleration(int32 *speed)
|
||||
{
|
||||
BMessage command(IS_GET_MOUSE_ACCELERATION);
|
||||
@@ -386,7 +386,7 @@ get_mouse_acceleration(int32 *speed)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE status_t
|
||||
status_t
|
||||
set_mouse_acceleration(int32 speed)
|
||||
{
|
||||
BMessage command(IS_SET_MOUSE_ACCELERATION);
|
||||
@@ -396,7 +396,7 @@ set_mouse_acceleration(int32 speed)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE status_t
|
||||
status_t
|
||||
get_key_repeat_rate(int32 *rate)
|
||||
{
|
||||
BMessage command(IS_GET_KEY_REPEAT_RATE);
|
||||
@@ -411,7 +411,7 @@ get_key_repeat_rate(int32 *rate)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE status_t
|
||||
status_t
|
||||
set_key_repeat_rate(int32 rate)
|
||||
{
|
||||
BMessage command(IS_SET_KEY_REPEAT_RATE);
|
||||
@@ -421,7 +421,7 @@ set_key_repeat_rate(int32 rate)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE status_t
|
||||
status_t
|
||||
get_key_repeat_delay(bigtime_t *delay)
|
||||
{
|
||||
BMessage command(IS_GET_KEY_REPEAT_DELAY);
|
||||
@@ -436,7 +436,7 @@ get_key_repeat_delay(bigtime_t *delay)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE status_t
|
||||
status_t
|
||||
set_key_repeat_delay(bigtime_t delay)
|
||||
{
|
||||
BMessage command(IS_SET_KEY_REPEAT_DELAY);
|
||||
@@ -446,7 +446,7 @@ set_key_repeat_delay(bigtime_t delay)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE uint32
|
||||
uint32
|
||||
modifiers()
|
||||
{
|
||||
BMessage command(IS_GET_MODIFIERS);
|
||||
@@ -465,7 +465,7 @@ modifiers()
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE status_t
|
||||
status_t
|
||||
get_key_info(key_info *info)
|
||||
{
|
||||
BMessage command(IS_GET_KEY_INFO);
|
||||
@@ -487,14 +487,14 @@ get_key_info(key_info *info)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE void
|
||||
void
|
||||
get_key_map(key_map **map, char **key_buffer)
|
||||
{
|
||||
_get_key_map(map, key_buffer, NULL);
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE void
|
||||
void
|
||||
_get_key_map(key_map **map, char **key_buffer, ssize_t *key_buffer_size)
|
||||
{
|
||||
BMessage command(IS_GET_KEY_MAP);
|
||||
@@ -523,7 +523,7 @@ _get_key_map(key_map **map, char **key_buffer, ssize_t *key_buffer_size)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE status_t
|
||||
status_t
|
||||
get_keyboard_id(uint16 *id)
|
||||
{
|
||||
BMessage command(IS_GET_KEYBOARD_ID);
|
||||
@@ -539,7 +539,7 @@ get_keyboard_id(uint16 *id)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE void
|
||||
void
|
||||
set_modifier_key(uint32 modifier, uint32 key)
|
||||
{
|
||||
BMessage command(IS_SET_MODIFIER_KEY);
|
||||
@@ -551,7 +551,7 @@ set_modifier_key(uint32 modifier, uint32 key)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE void
|
||||
void
|
||||
set_keyboard_locks(uint32 modifiers)
|
||||
{
|
||||
BMessage command(IS_SET_KEYBOARD_LOCKS);
|
||||
@@ -562,7 +562,7 @@ set_keyboard_locks(uint32 modifiers)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE status_t
|
||||
status_t
|
||||
_restore_key_map_()
|
||||
{
|
||||
BMessage message(IS_RESTORE_KEY_MAP);
|
||||
@@ -572,7 +572,7 @@ _restore_key_map_()
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE rgb_color
|
||||
rgb_color
|
||||
keyboard_navigation_color()
|
||||
{
|
||||
// Queries the app_server
|
||||
@@ -580,7 +580,7 @@ keyboard_navigation_color()
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE int32
|
||||
int32
|
||||
count_workspaces()
|
||||
{
|
||||
int32 count = 1;
|
||||
@@ -596,7 +596,7 @@ count_workspaces()
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE void
|
||||
void
|
||||
set_workspace_count(int32 count)
|
||||
{
|
||||
BPrivate::AppServerLink link;
|
||||
@@ -606,7 +606,7 @@ set_workspace_count(int32 count)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE int32
|
||||
int32
|
||||
current_workspace()
|
||||
{
|
||||
int32 index = 0;
|
||||
@@ -622,7 +622,7 @@ current_workspace()
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE void
|
||||
void
|
||||
activate_workspace(int32 workspace)
|
||||
{
|
||||
BPrivate::AppServerLink link;
|
||||
@@ -632,7 +632,7 @@ activate_workspace(int32 workspace)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE bigtime_t
|
||||
bigtime_t
|
||||
idle_time()
|
||||
{
|
||||
bigtime_t idletime = 0;
|
||||
@@ -648,7 +648,7 @@ idle_time()
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE void
|
||||
void
|
||||
run_select_printer_panel()
|
||||
{
|
||||
if (be_roster == NULL)
|
||||
@@ -659,7 +659,7 @@ run_select_printer_panel()
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE void
|
||||
void
|
||||
run_add_printer_panel()
|
||||
{
|
||||
// Launches the Printer prefs app via the Roster and asks it to
|
||||
@@ -671,7 +671,7 @@ run_add_printer_panel()
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE void
|
||||
void
|
||||
run_be_about()
|
||||
{
|
||||
if (be_roster != NULL)
|
||||
@@ -679,7 +679,7 @@ run_be_about()
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE void
|
||||
void
|
||||
set_focus_follows_mouse(bool follow)
|
||||
{
|
||||
// obviously deprecated API
|
||||
@@ -687,14 +687,14 @@ set_focus_follows_mouse(bool follow)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE bool
|
||||
bool
|
||||
focus_follows_mouse()
|
||||
{
|
||||
return mouse_mode() != B_NORMAL_MOUSE;
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE void
|
||||
void
|
||||
set_mouse_mode(mode_mouse mode)
|
||||
{
|
||||
BPrivate::AppServerLink link;
|
||||
@@ -704,7 +704,7 @@ set_mouse_mode(mode_mouse mode)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE mode_mouse
|
||||
mode_mouse
|
||||
mouse_mode()
|
||||
{
|
||||
// Gets the focus-follows-mouse style, such as normal, B_WARP_MOUSE, etc.
|
||||
@@ -721,7 +721,7 @@ mouse_mode()
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE rgb_color
|
||||
rgb_color
|
||||
ui_color(color_which which)
|
||||
{
|
||||
int32 index = color_which_to_index(which);
|
||||
@@ -739,7 +739,7 @@ ui_color(color_which which)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE void
|
||||
void
|
||||
set_ui_color(const color_which &which, const rgb_color &color)
|
||||
{
|
||||
int32 index = color_which_to_index(which);
|
||||
@@ -756,7 +756,7 @@ set_ui_color(const color_which &which, const rgb_color &color)
|
||||
}
|
||||
|
||||
|
||||
_IMPEXP_BE rgb_color
|
||||
rgb_color
|
||||
tint_color(rgb_color color, float tint)
|
||||
{
|
||||
rgb_color result;
|
||||
|
||||
@@ -2179,13 +2179,8 @@ BView::SetFont(const BFont* font, uint32 mask)
|
||||
}
|
||||
|
||||
|
||||
#if !_PR3_COMPATIBLE_
|
||||
void
|
||||
BView::GetFont(BFont *font) const
|
||||
#else
|
||||
void
|
||||
BView:GetFont(BFont *font)
|
||||
#endif
|
||||
{
|
||||
*font = fState->font;
|
||||
}
|
||||
|
||||
@@ -1,18 +1,20 @@
|
||||
/***********************************************************************
|
||||
/*
|
||||
* Copyright (c) 2002 Marcus Overhagen. All Rights Reserved.
|
||||
* This file may be used under the terms of the MIT License.
|
||||
*
|
||||
***********************************************************************/
|
||||
*/
|
||||
#ifndef _TIME_SOURCE_OBJECT_MANAGER_H_
|
||||
#define _TIME_SOURCE_OBJECT_MANAGER_H_
|
||||
|
||||
|
||||
#include "TMap.h"
|
||||
|
||||
class BLocker;
|
||||
|
||||
|
||||
namespace BPrivate {
|
||||
namespace media {
|
||||
|
||||
class TimeSourceObjectManager
|
||||
{
|
||||
class TimeSourceObjectManager {
|
||||
public:
|
||||
TimeSourceObjectManager();
|
||||
~TimeSourceObjectManager();
|
||||
@@ -21,13 +23,13 @@ public:
|
||||
void ObjectDeleted(BTimeSource *timesource);
|
||||
|
||||
private:
|
||||
Map<media_node_id,BTimeSource *> *fMap;
|
||||
Map<media_node_id, BTimeSource *> *fMap;
|
||||
BLocker *fLock;
|
||||
};
|
||||
|
||||
}; // namespace media
|
||||
}; // namespace BPrivate
|
||||
} // namespace media
|
||||
} // namespace BPrivate
|
||||
|
||||
extern BPrivate::media::TimeSourceObjectManager *_TimeSourceObjectManager;
|
||||
|
||||
#endif
|
||||
#endif // _TIME_SOURCE_OBJECT_MANAGER_H_
|
||||
|
||||
@@ -165,7 +165,7 @@ static const char * unicode2aliases[] = {
|
||||
// IANA aliases
|
||||
"csUnicode",
|
||||
// java aliases
|
||||
"UTF-16BE", "X-UTF-16BE", "UnicodeBigUnmarked",
|
||||
"UTF-16BE", "UTF_16BE", "X-UTF-16BE", "UnicodeBigUnmarked",
|
||||
NULL
|
||||
};
|
||||
static const BCharacterSet unicode2(16,1000,"Unicode (UCS-2)","ISO-10646-UCS-2",NULL,unicode2aliases);
|
||||
|
||||
@@ -147,7 +147,7 @@ private:
|
||||
|
||||
|
||||
extern
|
||||
#if !B_BEOS_VERSION_DANO
|
||||
#ifdef _IMPEXP_TRACKER
|
||||
_IMPEXP_TRACKER
|
||||
#endif
|
||||
BImageResources* GetTrackerResources();
|
||||
@@ -156,4 +156,4 @@ BImageResources* GetTrackerResources();
|
||||
|
||||
using namespace BPrivate;
|
||||
|
||||
#endif
|
||||
#endif // __BITS__
|
||||
|
||||
@@ -88,10 +88,10 @@ All rights reserved.
|
||||
|
||||
|
||||
const uint32 kRedo = 'REDO';
|
||||
// this is the same as B_REDO in Dano/Zeta/OpenBeOS
|
||||
// this is the same as B_REDO in Dano/Zeta/Haiku
|
||||
|
||||
|
||||
#if !B_BEOS_VERSION_DANO
|
||||
#ifdef _IMPEXP_BE
|
||||
_IMPEXP_BE
|
||||
#endif
|
||||
void do_minimize_team(BRect zoomRect, team_id team, bool zoom);
|
||||
|
||||
@@ -80,8 +80,6 @@ void BRecentAppsList::_r38() {}
|
||||
void BRecentAppsList::_r39() {}
|
||||
void BRecentAppsList::_r310() {}
|
||||
|
||||
#if !_PR3_COMPATIBLE_
|
||||
|
||||
void BFilePanel::_ReservedFilePanel1() {}
|
||||
void BFilePanel::_ReservedFilePanel2() {}
|
||||
void BFilePanel::_ReservedFilePanel3() {}
|
||||
@@ -91,8 +89,6 @@ void BFilePanel::_ReservedFilePanel6() {}
|
||||
void BFilePanel::_ReservedFilePanel7() {}
|
||||
void BFilePanel::_ReservedFilePanel8() {}
|
||||
|
||||
#endif
|
||||
|
||||
// deprecated cruft
|
||||
|
||||
#if __GNUC__ && __GNUC__ < 3 || __MWERKS__
|
||||
|
||||
@@ -145,7 +145,7 @@ TrackerCopyLoopControl::TrackerCopyLoopControl(thread_id thread)
|
||||
|
||||
#define B_DESKTOP_DIR_NAME "Desktop"
|
||||
|
||||
#if B_BEOS_VERSION_DANO
|
||||
#ifndef _IMPEXP_TRACKER
|
||||
#define _IMPEXP_TRACKER
|
||||
#endif
|
||||
_IMPEXP_TRACKER status_t FSCopyAttributesAndStats(BNode *, BNode *);
|
||||
|
||||
@@ -44,8 +44,10 @@ All rights reserved.
|
||||
|
||||
|
||||
// prototypes for some private kernel calls that will some day be public
|
||||
#if B_BEOS_VERSION_DANO
|
||||
#ifndef _IMPEXP_ROOT
|
||||
# define _IMPEXP_ROOT
|
||||
#endif
|
||||
#ifndef _IMPEXP_TRACKER
|
||||
# define _IMPEXP_TRACKER
|
||||
#endif
|
||||
extern "C" _IMPEXP_ROOT int _kset_fd_limit_(int num);
|
||||
@@ -54,11 +56,6 @@ extern "C" _IMPEXP_ROOT int _kset_fd_limit_(int num);
|
||||
extern _IMPEXP_TRACKER void run_open_panel();
|
||||
extern _IMPEXP_TRACKER void run_save_panel();
|
||||
|
||||
#if B_BEOS_VERSION_DANO
|
||||
# undef _IMPEXP_ROOT
|
||||
# undef _IMPEXP_TRACKER
|
||||
#endif
|
||||
|
||||
|
||||
void
|
||||
run_open_panel()
|
||||
|
||||
@@ -70,7 +70,7 @@ const uint32 kByForumlaItem = 'Fbyq';
|
||||
const uint32 kAddItem = 'Fadd';
|
||||
const uint32 kRemoveItem = 'Frem';
|
||||
|
||||
#if !B_BEOS_VERSION_DANO
|
||||
#ifdef _IMPEXP_TRACKER
|
||||
_IMPEXP_TRACKER
|
||||
#endif
|
||||
BMenu *TrackerBuildRecentFindItemsMenu(const char *);
|
||||
|
||||
@@ -77,7 +77,7 @@ BObjectList<Model> *readOnlyOpenModelList = NULL;
|
||||
|
||||
namespace BPrivate {
|
||||
extern
|
||||
#if !B_BEOS_VERSION_DANO
|
||||
#ifdef _IMPEXP_BE
|
||||
_IMPEXP_BE
|
||||
#endif
|
||||
bool CheckNodeIconHintPrivate(const BNode *, bool);
|
||||
|
||||
@@ -87,14 +87,11 @@ All rights reserved.
|
||||
#include "AboutBox.cpp"
|
||||
|
||||
// prototypes for some private kernel calls that will some day be public
|
||||
#if B_BEOS_VERSION_DANO
|
||||
#define _IMPEXP_ROOT
|
||||
#ifndef _IMPEXP_ROOT
|
||||
# define _IMPEXP_ROOT
|
||||
#endif
|
||||
extern "C" _IMPEXP_ROOT int _kset_fd_limit_(int num);
|
||||
extern "C" _IMPEXP_ROOT int _kset_mon_limit_(int num);
|
||||
#if B_BEOS_VERSION_DANO
|
||||
#undef _IMPEXP_ROOT
|
||||
#endif
|
||||
// from priv_syscalls.h
|
||||
|
||||
const int32 DEFAULT_MON_NUM = 4096;
|
||||
|
||||
@@ -66,14 +66,11 @@ All rights reserved.
|
||||
#include <stdarg.h>
|
||||
|
||||
|
||||
#if B_BEOS_VERSION_DANO
|
||||
#ifndef _IMPEXP_BE
|
||||
# define _IMPEXP_BE
|
||||
#endif
|
||||
extern _IMPEXP_BE const uint32 LARGE_ICON_TYPE;
|
||||
extern _IMPEXP_BE const uint32 MINI_ICON_TYPE;
|
||||
#if B_BEOS_VERSION_DANO
|
||||
# undef _IMPEXP_BE
|
||||
#endif
|
||||
|
||||
|
||||
FILE *logFile = NULL;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2006, Haiku, Inc.
|
||||
* Copyright 2002-2007, Haiku, Inc.
|
||||
* Distributed under the terms of the MIT license.
|
||||
*
|
||||
* Authors:
|
||||
@@ -16,6 +16,7 @@
|
||||
#include <Window.h>
|
||||
|
||||
class BBox;
|
||||
class BStringView;
|
||||
class BView;
|
||||
|
||||
class IconView;
|
||||
|
||||
@@ -1,26 +1,27 @@
|
||||
/* ConfigViews - config views for the account, protocols, and filters
|
||||
*
|
||||
* Copyright 2001 Dr. Zoidberg Enterprises. All rights reserved.
|
||||
*/
|
||||
#ifndef CONFIG_VIEWS_H
|
||||
#define CONFIG_VIEWS_H
|
||||
/* ConfigViews - config views for the account, protocols, and filters
|
||||
**
|
||||
** Copyright 2001 Dr. Zoidberg Enterprises. All rights reserved.
|
||||
*/
|
||||
|
||||
|
||||
#include <interface/Box.h>
|
||||
#include <kernel/image.h>
|
||||
#include <Box.h>
|
||||
#include <image.h>
|
||||
|
||||
class BTextControl;
|
||||
class BListView;
|
||||
class BMailChain;
|
||||
class BMenuField;
|
||||
class BButton;
|
||||
|
||||
class BMailChain;
|
||||
struct entry_ref;
|
||||
|
||||
class Account;
|
||||
class ProtocolsConfigView;
|
||||
class FiltersConfigView;
|
||||
|
||||
|
||||
class AccountConfigView : public BBox
|
||||
{
|
||||
class AccountConfigView : public BBox {
|
||||
public:
|
||||
AccountConfigView(BRect rect,Account *account);
|
||||
|
||||
@@ -36,16 +37,10 @@ class AccountConfigView : public BBox
|
||||
Account *fAccount;
|
||||
};
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------
|
||||
|
||||
class ProtocolsConfigView;
|
||||
class FiltersConfigView;
|
||||
|
||||
class FilterConfigView : public BBox
|
||||
{
|
||||
class FilterConfigView : public BBox {
|
||||
public:
|
||||
FilterConfigView(BMailChain *chain,int32 index,BMessage *msg,entry_ref *ref);
|
||||
FilterConfigView(BMailChain *chain, int32 index, BMessage *msg,
|
||||
entry_ref *ref);
|
||||
~FilterConfigView();
|
||||
|
||||
status_t InitCheck();
|
||||
@@ -56,7 +51,7 @@ class FilterConfigView : public BBox
|
||||
protected:
|
||||
friend class FiltersConfigView;
|
||||
|
||||
void Load(BMessage *msg,entry_ref *ref);
|
||||
void Load(BMessage *msg, entry_ref *ref);
|
||||
void Remove(bool deleteMessage = true);
|
||||
|
||||
BView *fConfigView;
|
||||
@@ -68,14 +63,10 @@ class FilterConfigView : public BBox
|
||||
image_id fImage;
|
||||
};
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------
|
||||
|
||||
|
||||
class ProtocolsConfigView : public FilterConfigView
|
||||
{
|
||||
class ProtocolsConfigView : public FilterConfigView {
|
||||
public:
|
||||
ProtocolsConfigView(BMailChain *chain, int32 index, BMessage *msg, entry_ref *ref);
|
||||
ProtocolsConfigView(BMailChain *chain, int32 index, BMessage *msg,
|
||||
entry_ref *ref);
|
||||
|
||||
void AttachedToWindow();
|
||||
void MessageReceived(BMessage *msg);
|
||||
@@ -84,12 +75,7 @@ class ProtocolsConfigView : public FilterConfigView
|
||||
BMenuField *fProtocolsMenuField;
|
||||
};
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------
|
||||
|
||||
|
||||
class FiltersConfigView : public BBox
|
||||
{
|
||||
class FiltersConfigView : public BBox {
|
||||
public:
|
||||
FiltersConfigView(BRect rect,Account *account);
|
||||
~FiltersConfigView();
|
||||
|
||||
@@ -1,26 +1,22 @@
|
||||
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
|
||||
//
|
||||
// Copyright (c) 2003, OpenBeOS
|
||||
//
|
||||
// This software is part of the OpenBeOS distribution and is covered
|
||||
// by the OpenBeOS license.
|
||||
//
|
||||
//
|
||||
// File: MouseSettings.h
|
||||
// Authors: Jérôme Duval,
|
||||
// Andrew McCall ([email protected])
|
||||
// Axel Dörfler ([email protected])
|
||||
// Description: Mouse Preferences
|
||||
// Created: December 10, 2003
|
||||
//
|
||||
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
|
||||
/*
|
||||
* Copyright 2003-2007, Haiku Inc. All Rights Reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Authors:
|
||||
* Jérôme Duval
|
||||
* Andrew McCall (mccall@digitalparadise.co.uk)
|
||||
* Axel Dörfler (axeld@pinc-software.de)
|
||||
*/
|
||||
#ifndef MOUSE_SETTINGS_H
|
||||
#define MOUSE_SETTINGS_H
|
||||
|
||||
#ifndef MOUSE_SETTINGS_H_
|
||||
#define MOUSE_SETTINGS_H_
|
||||
|
||||
#include "kb_mouse_settings.h"
|
||||
|
||||
#include <SupportDefs.h>
|
||||
#include <InterfaceDefs.h>
|
||||
#include "kb_mouse_settings.h"
|
||||
|
||||
class BPath;
|
||||
|
||||
|
||||
class MouseSettings {
|
||||
@@ -66,4 +62,4 @@ class MouseSettings {
|
||||
BPoint fWindowPosition;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // MOUSE_SETTINGS_H
|
||||
|
||||
@@ -4,21 +4,24 @@
|
||||
*
|
||||
* Author:
|
||||
* Andre Alves Garzia, andre@andregarzia.com
|
||||
* With code from:
|
||||
* Axel Dorfler
|
||||
* Axel Dörfler
|
||||
* Hugo Santos
|
||||
*/
|
||||
#ifndef ETHERNET_SETTINGS_VIEW_H
|
||||
#define ETHERNET_SETTINGS_VIEW_H
|
||||
|
||||
|
||||
#include "settings.h"
|
||||
|
||||
#include <ObjectList.h>
|
||||
#include <View.h>
|
||||
|
||||
class BButton;
|
||||
class BMenuField;
|
||||
class BPath;
|
||||
class BTextControl;
|
||||
|
||||
|
||||
static const uint32 kMsgApply = 'aply';
|
||||
static const uint32 kMsgRevert = 'rvrt';
|
||||
static const uint32 kMsgClose = 'clse';
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
// where noted, are licensed under the MIT License, and have been written
|
||||
// and are:
|
||||
//
|
||||
// Copyright (c) 2001-2003 OpenBeOS Project
|
||||
// Copyright (c) 2001-2007 Haiku Project
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
||||
// copy of this software and associated documentation files (the "Software"),
|
||||
@@ -25,10 +25,13 @@
|
||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
// DEALINGS IN THE SOFTWARE.
|
||||
/*****************************************************************************/
|
||||
#ifndef PRINTERS_WINDOW_H
|
||||
#define PRINTERS_WINDOW_H
|
||||
|
||||
#ifndef PRINTERSWINDOW_H
|
||||
#define PRINTERSWINDOW_H
|
||||
|
||||
#include <Window.h>
|
||||
|
||||
class BBox;
|
||||
class PrintersWindow;
|
||||
class PrinterListView;
|
||||
class JobListView;
|
||||
@@ -36,11 +39,8 @@ class Job;
|
||||
class SpoolFolder;
|
||||
class PrinterItem;
|
||||
|
||||
#include <Window.h>
|
||||
|
||||
class PrintersWindow : public BWindow
|
||||
{
|
||||
typedef BWindow Inherited;
|
||||
class PrintersWindow : public BWindow {
|
||||
public:
|
||||
PrintersWindow(BRect frame);
|
||||
|
||||
@@ -56,6 +56,8 @@ private:
|
||||
bool IsSelected(PrinterItem* printer);
|
||||
void UpdatePrinterButtons();
|
||||
void UpdateJobButtons();
|
||||
|
||||
typedef BWindow Inherited;
|
||||
|
||||
PrinterListView* fPrinterListView;
|
||||
BButton* fMakeDefault;
|
||||
@@ -72,4 +74,4 @@ private:
|
||||
bool fAddingPrinter;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // PRINTERS_WINDOW_H
|
||||
|
||||
@@ -18,7 +18,9 @@
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
|
||||
class BEntry;
|
||||
class BPath;
|
||||
struct node_ref;
|
||||
|
||||
class FontFamily;
|
||||
class FontStyle;
|
||||
|
||||
@@ -138,6 +138,7 @@ string_for_message_code(uint32 code, BString& string)
|
||||
|
||||
case AS_GET_RETRACE_SEMAPHORE: string = "AS_GET_RETRACE_SEMAPHORE"; break;
|
||||
case AS_GET_ACCELERANT_INFO: string = "AS_GET_ACCELERANT_INFO"; break;
|
||||
case AS_GET_MONITOR_INFO: string = "AS_GET_MONITOR_INFO"; break;
|
||||
case AS_GET_FRAME_BUFFER_CONFIG: string = "AS_GET_FRAME_BUFFER_CONFIG"; break;
|
||||
|
||||
case AS_SET_DPMS: string = "AS_SET_DPMS"; break;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001-2006, Haiku, Inc.
|
||||
* Copyright (c) 2001-2007, Haiku, Inc.
|
||||
* Distributed under the terms of the MIT license.
|
||||
*
|
||||
* Authors:
|
||||
@@ -29,6 +29,7 @@ class Screen {
|
||||
void Shutdown();
|
||||
|
||||
int32 ID() const { return fID; }
|
||||
status_t GetMonitorInfo(monitor_info& info);
|
||||
|
||||
status_t SetMode(const display_mode& mode, bool makeDefault);
|
||||
status_t SetMode(uint16 width, uint16 height,
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <String.h>
|
||||
|
||||
class BList;
|
||||
class BMessage;
|
||||
|
||||
namespace BPrivate {
|
||||
class PortLink;
|
||||
|
||||
@@ -5,14 +5,18 @@
|
||||
* Author: DarkWyrm <bpmagic@columbus.rr.com>
|
||||
* Stephan Aßmus <superstippi@gmx.de>
|
||||
*/
|
||||
|
||||
#ifndef PATTERNHANDLER_H
|
||||
#define PATTERNHANDLER_H
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <GraphicsDefs.h>
|
||||
|
||||
class BPoint;
|
||||
|
||||
|
||||
class Pattern {
|
||||
public:
|
||||
|
||||
|
||||
@@ -1,15 +1,19 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// Copyright 2005, Haiku, Inc. All rights reserved.
|
||||
// Distributed under the terms of the MIT License.
|
||||
//
|
||||
// Author: Stephan Aßmus, <[email protected]>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
/*
|
||||
* Copyright 2005-2007, Haiku.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Authors:
|
||||
* Stephan Aßmus <superstippi@gmx.de>
|
||||
*/
|
||||
#ifndef SUPPORT_H
|
||||
#define SUPPORT_H
|
||||
|
||||
|
||||
#include <SupportDefs.h>
|
||||
|
||||
class BRect;
|
||||
|
||||
|
||||
// gfxcpy
|
||||
static inline void
|
||||
gfxcpy(uint8* dst, const uint8* src, int32 numBytes)
|
||||
|
||||
@@ -36,10 +36,11 @@
|
||||
#include <stdio.h>
|
||||
#include <string>
|
||||
|
||||
class BMessage;
|
||||
class TRoster;
|
||||
|
||||
struct entry_ref;
|
||||
|
||||
|
||||
class RecentApps {
|
||||
public:
|
||||
RecentApps();
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string>
|
||||
|
||||
class BMessage;
|
||||
class TRoster;
|
||||
|
||||
struct recent_entry {
|
||||
|
||||
Reference in New Issue
Block a user