fix gcc4 warnings (+alphabranch)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32659 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -27,7 +27,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
|
||||||
TPeopleView::TPeopleView(BRect rect, char *title, entry_ref *ref)
|
TPeopleView::TPeopleView(BRect rect, const char *title, entry_ref *ref)
|
||||||
:BView(rect, title, B_FOLLOW_NONE, B_WILL_DRAW)
|
:BView(rect, title, B_FOLLOW_NONE, B_WILL_DRAW)
|
||||||
{
|
{
|
||||||
if (ref)
|
if (ref)
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ class TTextControl;
|
|||||||
|
|
||||||
class TPeopleView : public BView {
|
class TPeopleView : public BView {
|
||||||
public:
|
public:
|
||||||
TPeopleView(BRect rect, char* title, entry_ref* ref);
|
TPeopleView(BRect rect, const char* title, entry_ref* ref);
|
||||||
~TPeopleView(void);
|
~TPeopleView(void);
|
||||||
|
|
||||||
virtual void AttachedToWindow(void);
|
virtual void AttachedToWindow(void);
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
||||||
TPeopleWindow::TPeopleWindow(BRect frame, char *title, entry_ref *ref)
|
TPeopleWindow::TPeopleWindow(BRect frame, const char *title, entry_ref *ref)
|
||||||
: BWindow(frame, title, B_TITLED_WINDOW, B_NOT_RESIZABLE | B_NOT_ZOOMABLE),
|
: BWindow(frame, title, B_TITLED_WINDOW, B_NOT_RESIZABLE | B_NOT_ZOOMABLE),
|
||||||
fPanel(NULL)
|
fPanel(NULL)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ public:
|
|||||||
|
|
||||||
entry_ref *fRef;
|
entry_ref *fRef;
|
||||||
|
|
||||||
TPeopleWindow(BRect, char*, entry_ref*);
|
TPeopleWindow(BRect, const char*, entry_ref*);
|
||||||
~TPeopleWindow(void);
|
~TPeopleWindow(void);
|
||||||
virtual void MenusBeginning(void);
|
virtual void MenusBeginning(void);
|
||||||
virtual void MessageReceived(BMessage*);
|
virtual void MessageReceived(BMessage*);
|
||||||
|
|||||||
Reference in New Issue
Block a user