Fixed build under Dano.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16969 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,33 +1,13 @@
|
|||||||
/*****************************************************************************/
|
/*
|
||||||
// Expander
|
* Copyright 2004-2006, Haiku, Inc. All Rights Reserved.
|
||||||
// Written by Jérôme Duval
|
* Distributed under the terms of the MIT License.
|
||||||
//
|
*
|
||||||
// ExpanderWindow.h
|
* Authors:
|
||||||
//
|
* Jérôme Duval
|
||||||
//
|
*/
|
||||||
// Copyright (c) 2004 OpenBeOS Project
|
#ifndef EXPANDER_WINDOW_H
|
||||||
//
|
#define EXPANDER_WINDOW_H
|
||||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
// copy of this software and associated documentation files (the "Software"),
|
|
||||||
// to deal in the Software without restriction, including without limitation
|
|
||||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
// and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
// Software is furnished to do so, subject to the following conditions:
|
|
||||||
//
|
|
||||||
// The above copyright notice and this permission notice shall be included
|
|
||||||
// in all copies or substantial portions of the Software.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
||||||
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
||||||
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
// DEALINGS IN THE SOFTWARE.
|
|
||||||
/*****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef _ExpanderWindow_h
|
|
||||||
#define _ExpanderWindow_h
|
|
||||||
|
|
||||||
#include <CheckBox.h>
|
#include <CheckBox.h>
|
||||||
#include <Window.h>
|
#include <Window.h>
|
||||||
@@ -37,11 +17,14 @@
|
|||||||
#include "DirectoryFilePanel.h"
|
#include "DirectoryFilePanel.h"
|
||||||
#include "ExpanderRules.h"
|
#include "ExpanderRules.h"
|
||||||
|
|
||||||
|
class BMenu;
|
||||||
|
|
||||||
class ExpanderThread;
|
class ExpanderThread;
|
||||||
class ExpanderPreferences;
|
class ExpanderPreferences;
|
||||||
|
|
||||||
|
|
||||||
class ExpanderWindow : public BWindow {
|
class ExpanderWindow : public BWindow {
|
||||||
public:
|
public:
|
||||||
ExpanderWindow(BRect frameRect, const entry_ref *ref, BMessage *settings);
|
ExpanderWindow(BRect frameRect, const entry_ref *ref, BMessage *settings);
|
||||||
virtual ~ExpanderWindow();
|
virtual ~ExpanderWindow();
|
||||||
|
|
||||||
@@ -52,7 +35,7 @@ public:
|
|||||||
void SetRef(const entry_ref *ref);
|
void SetRef(const entry_ref *ref);
|
||||||
void RefsReceived(BMessage *msg);
|
void RefsReceived(BMessage *msg);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool CanQuit();
|
bool CanQuit();
|
||||||
// returns true if the window can be closed safely, false if not
|
// returns true if the window can be closed safely, false if not
|
||||||
void CloseWindowOrKeepOpen();
|
void CloseWindowOrKeepOpen();
|
||||||
@@ -91,4 +74,4 @@ private:
|
|||||||
ExpanderRules fRules;
|
ExpanderRules fRules;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* _ExpanderWindow_h */
|
#endif /* EXPANDER_WINDOW_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user