Put return types for funcs on their own line.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22905 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol 2007-11-11 20:37:10 +00:00
parent 3503c8b0f4
commit 6548a8f371
4 changed files with 16 additions and 8 deletions

View File

@ -19,7 +19,8 @@ CubeView::~CubeView()
{
}
void CubeView::AttachedToWindow()
void
CubeView::AttachedToWindow()
{
}

View File

@ -20,7 +20,8 @@ GLMovApp::~GLMovApp()
{
}
void GLMovApp::ReadyToRun()
void
GLMovApp::ReadyToRun()
{
GLMovWindow *win = GLMovWindow::MakeWindow(OBJ_CUBE);
}
@ -36,7 +37,8 @@ void GLMovApp::MessageReceived(BMessage *message)
{
}
int main(int argc, char **argv)
int
main(int argc, char **argv)
{
GLMovApp app;
app.Run();

View File

@ -19,7 +19,8 @@ GLMovView::~GLMovView()
{
}
void GLMovView::AttachedToWindow()
void
GLMovView::AttachedToWindow()
{
}

View File

@ -27,7 +27,8 @@ GLMovWindow::~GLMovWindow()
{
}
bool GLMovWindow::QuitRequested()
bool
GLMovWindow::QuitRequested()
{
be_app->Lock();
if (be_app->CountWindows() < 2)
@ -36,7 +37,8 @@ bool GLMovWindow::QuitRequested()
return true;
}
void GLMovWindow::MessageReceived(BMessage *message)
void
GLMovWindow::MessageReceived(BMessage *message)
{
switch (message->what) {
case MSG_OBJ1:
@ -52,13 +54,15 @@ void GLMovWindow::MessageReceived(BMessage *message)
}
}
void GLMovWindow::DirectConnected(direct_buffer_info *info)
void
GLMovWindow::DirectConnected(direct_buffer_info *info)
{
fGLView->DirectConnected(info);
}
GLMovWindow *GLMovWindow::MakeWindow(object_type obj)
GLMovWindow *
GLMovWindow::MakeWindow(object_type obj)
{
GLMovWindow *win;
GLMovView *view;