* style cleanup, new style casts, license header updates

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24113 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Alexandre Deckner
2008-02-25 13:36:46 +00:00
parent 4d49ac789d
commit ad93c2f5eb
10 changed files with 435 additions and 465 deletions
+8 -14
View File
@@ -1,17 +1,11 @@
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ /*
// * Copyright 2004-2008 Haiku Inc. All rights reserved.
// Copyright (c) 2004, Haiku * Distributed under the terms of the MIT License.
// *
// This software is part of the Haiku distribution and is covered * Authors:
// by the Haiku license. * Sandor Vroemisse
// * Jérôme Duval
// */
// File: Keymap.cpp
// Author: Sandor Vroemisse, Jérôme Duval
// Description: Keymap Preferences
// Created : July 12, 2004
//
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
#include "Keymap.h" #include "Keymap.h"
#include <stdio.h> #include <stdio.h>
+7 -14
View File
@@ -1,17 +1,10 @@
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ /*
// * Copyright 2004-2008 Haiku Inc. All rights reserved.
// Copyright (c) 2004, Haiku * Distributed under the terms of the MIT License.
// *
// This software is part of the Haiku distribution and is covered * Authors:
// by the Haiku license. * Jérôme Duval
// */
//
// File: Keymap.h
// Author: Jérôme Duval
// Description: Keymap Preferences
// Created : July 12, 2004
//
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
#ifndef KEYMAP_H #ifndef KEYMAP_H
#define KEYMAP_H #define KEYMAP_H
+2 -3
View File
@@ -1,13 +1,12 @@
/* /*
* Copyright 2004-2006, Haiku. All rights reserved. * Copyright 2004-2006 Haiku Inc. All rights reserved.
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
* *
* Authors in chronological order: * Authors:
* Sandor Vroemisse * Sandor Vroemisse
* Jérôme Duval * Jérôme Duval
*/ */
#include "KeymapApplication.h" #include "KeymapApplication.h"
+3 -2
View File
@@ -1,11 +1,12 @@
/* /*
* Copyright 2004-2006, Haiku. All rights reserved. * Copyright 2004-2006 Haiku Inc. All rights reserved.
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
* *
* Authors in chronological order: * Authors:
* Sandor Vroemisse * Sandor Vroemisse
* Jérôme Duval * Jérôme Duval
*/ */
#ifndef KEYMAP_APPLICATION_H #ifndef KEYMAP_APPLICATION_H
#define KEYMAP_APPLICATION_H #define KEYMAP_APPLICATION_H
+8 -14
View File
@@ -1,17 +1,11 @@
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ /*
// * Copyright 2004-2006 Haiku Inc. All rights reserved.
// Copyright (c) 2004, Haiku * Distributed under the terms of the MIT License.
// *
// This software is part of the Haiku distribution and is covered * Authors:
// by the Haiku license. * Sandor Vroemisse
// * Jérôme Duval
// */
// File: KeymapListItem.cpp
// Author: Sandor Vroemisse, Jérôme Duval
// Description: Keymap Preferences
// Created : July 12, 2004
//
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
/* /*
* A BStringItem modified such that it holds * A BStringItem modified such that it holds
+8 -14
View File
@@ -1,17 +1,11 @@
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ /*
// * Copyright 2004-2006 Haiku Inc. All rights reserved.
// Copyright (c) 2004, Haiku * Distributed under the terms of the MIT License.
// *
// This software is part of the Haiku distribution and is covered * Authors:
// by the Haiku license. * Sandor Vroemisse
// * Jérôme Duval
// */
// File: KeymapListItem.h
// Author: Sandor Vroemisse, Jérôme Duval
// Description: Keymap Preferences
// Created : July 12, 2004
//
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
/* /*
* A BStringItem modified such that it holds * A BStringItem modified such that it holds
+7 -14
View File
@@ -1,17 +1,10 @@
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ /*
// * Copyright 2004-2006 Haiku Inc. All rights reserved.
// Copyright (c) 2004, Haiku * Distributed under the terms of the MIT License.
// *
// This software is part of the Haiku distribution and is covered * Authors:
// by the Haiku license. * Jérôme Duval
// */
//
// File: KeymapTextView.cpp
// Author: Jérôme Duval
// Description: Keymap Preferences
// Created : July 14, 2004
//
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
#include "KeymapTextView.h" #include "KeymapTextView.h"
+8 -15
View File
@@ -1,17 +1,10 @@
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ /*
// * Copyright 2004-2006 Haiku Inc. All rights reserved.
// Copyright (c) 2004, Haiku * Distributed under the terms of the MIT License.
// *
// This software is part of the Haiku distribution and is covered * Authors:
// by the Haiku license. * Jérôme Duval
// */
//
// File: KeymapTextView.h
// Author: Jérôme Duval
// Description: Keymap Preferences
// Created : July 14, 2004
//
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
#ifndef KEYMAPTEXTVIEW_H #ifndef KEYMAPTEXTVIEW_H
#define KEYMAPTEXTVIEW_H #define KEYMAPTEXTVIEW_H
@@ -23,7 +16,7 @@ class KeymapTextView : public BTextView
public: public:
KeymapTextView(BRect frame, KeymapTextView(BRect frame,
const char *name, const char *name,
BRect textRect, BRect textRect,
uint32 resizeMask, uint32 resizeMask,
uint32 flags = B_WILL_DRAW | B_PULSE_NEEDED); uint32 flags = B_WILL_DRAW | B_PULSE_NEEDED);
virtual void KeyDown(const char *bytes, int32 numBytes); virtual void KeyDown(const char *bytes, int32 numBytes);
File diff suppressed because it is too large Load Diff
+9 -14
View File
@@ -1,17 +1,12 @@
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ /*
// * Copyright 2004-2008 Haiku Inc. All rights reserved.
// Copyright (c) 2004, Haiku * Distributed under the terms of the MIT License.
// *
// This software is part of the Haiku distribution and is covered * Authors:
// by the Haiku license. * Sandor Vroemisse
// * Jérôme Duval
// * Alexandre Deckner, [email protected]
// File: KeymapWindow.h */
// Author: Sandor Vroemisse, Jérôme Duval
// Description: Keymap Preferences
// Created : July 12, 2004
//
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
#ifndef KEYMAP_WINDOW_H #ifndef KEYMAP_WINDOW_H
#define KEYMAP_WINDOW_H #define KEYMAP_WINDOW_H