summaryrefslogtreecommitdiff
path: root/beos/beos_scaffolding.h
diff options
context:
space:
mode:
authorFran├žois Revel <mmu_man@netsurf-browser.org>2008-10-16 14:24:09 +0000
committerFran├žois Revel <mmu_man@netsurf-browser.org>2008-10-16 14:24:09 +0000
commitb3a5250f994bd772b14dad3472384b8534e0ad4f (patch)
tree711d9b956250102904d625a8db19995dfc5ea736 /beos/beos_scaffolding.h
parent6330f8e475bad2aa9dd3f0f7994a25980491023c (diff)
downloadnetsurf-b3a5250f994bd772b14dad3472384b8534e0ad4f.tar.gz
netsurf-b3a5250f994bd772b14dad3472384b8534e0ad4f.tar.bz2
Add Replicant support. No it's not about cyborgs, just embedding NetSurf into another app, like Tracker (the desktop), or documentation browsers like BeHappy...
svn path=/trunk/netsurf/; revision=5583
Diffstat (limited to 'beos/beos_scaffolding.h')
-rw-r--r--beos/beos_scaffolding.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/beos/beos_scaffolding.h b/beos/beos_scaffolding.h
index 478f0542e..6fcc84ebc 100644
--- a/beos/beos_scaffolding.h
+++ b/beos/beos_scaffolding.h
@@ -29,6 +29,28 @@ extern "C" {
typedef struct beos_scaffolding nsbeos_scaffolding;
+class NSBaseView : public BView {
+public:
+ NSBaseView(BRect frame);
+ NSBaseView(BMessage *archive);
+virtual ~NSBaseView();
+
+virtual void MessageReceived(BMessage *message);
+//virtual void Draw(BRect updateRect);
+
+//virtual void FrameMoved(BPoint new_location);
+//virtual void FrameResized(float new_width, float new_height);
+
+virtual void AllAttached(void);
+
+virtual status_t Archive(BMessage *archive, bool deep=true) const;
+static BArchivable *Instantiate(BMessage *archive);
+
+void SetScaffolding(struct beos_scaffolding *scaf);
+private:
+ struct beos_scaffolding *fScaffolding;
+};
+
class NSBrowserWindow : public BWindow {
public:
NSBrowserWindow(BRect frame, struct beos_scaffolding *scaf);
@@ -44,6 +66,7 @@ private:
};
+// XXX: clean up
typedef enum {
/* no/unknown actions */