1
/* Editor Settings: expandtabs and use 4 spaces for indentation
2
* ex: set softtabstop=4 tabstop=8 expandtab shiftwidth=4: *
3
* -*- mode: c, c-basic-offset: 4 -*- */
6
* Copyright (C) Centeris Corporation 2004-2007
7
* Copyright (C) Likewise Software 2007-2008
10
* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* (at your option) any later version.
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU General Public License for more details.
20
* You should have received a copy of the GNU General Public License
21
* along with this program. If not, see <http://www.gnu.org/licenses/>.
28
* Created by Sriram Nambakam on 8/7/07.
29
* Copyright 2007 Centeris Corporation. All rights reserved.
33
#ifndef __MAINWINDOW_H__
34
#define __MAINWINDOW_H__
36
#include <Carbon/Carbon.h>
38
#include "TApplication.h"
41
// Our main window class
42
class MainWindow : public TWindow
45
MainWindow(int inAppSignature) : TWindow( inAppSignature, CFSTR("MainWindow") ) {}
46
virtual ~MainWindow() {}
52
virtual Boolean HandleCommand( const HICommandExtended& inCommand );
55
#endif /* __MAINWINDOW_H__ */