diff --git a/src/apps/processcontroller/AutoIcon.cpp b/src/apps/processcontroller/AutoIcon.cpp index 6b9d247a77..dd9129f30f 100644 --- a/src/apps/processcontroller/AutoIcon.cpp +++ b/src/apps/processcontroller/AutoIcon.cpp @@ -1,22 +1,7 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ - + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #include "AutoIcon.h" #include "Utilities.h" diff --git a/src/apps/processcontroller/AutoIcon.h b/src/apps/processcontroller/AutoIcon.h index 5ba9df4592..d67d7bc21c 100644 --- a/src/apps/processcontroller/AutoIcon.h +++ b/src/apps/processcontroller/AutoIcon.h @@ -1,21 +1,7 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _AUTO_ICON_H_ #define _AUTO_ICON_H_ diff --git a/src/apps/processcontroller/Colors.h b/src/apps/processcontroller/Colors.h index ae4a2e188d..411f470869 100644 --- a/src/apps/processcontroller/Colors.h +++ b/src/apps/processcontroller/Colors.h @@ -1,22 +1,8 @@ /* - ProcessController - (c) 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ //Useful until be gets around to making these sorts of things //globals akin to be_plain_font, etc. diff --git a/src/apps/processcontroller/IconMenuItem.cpp b/src/apps/processcontroller/IconMenuItem.cpp index 06835bfe9b..c6e4c66e9e 100644 --- a/src/apps/processcontroller/IconMenuItem.cpp +++ b/src/apps/processcontroller/IconMenuItem.cpp @@ -1,26 +1,7 @@ /* - - IconMenuItem.cpp - - ProcessController - (c) 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #include "IconMenuItem.h" #include diff --git a/src/apps/processcontroller/IconMenuItem.h b/src/apps/processcontroller/IconMenuItem.h index afcc1e1330..2e116a9ab6 100644 --- a/src/apps/processcontroller/IconMenuItem.h +++ b/src/apps/processcontroller/IconMenuItem.h @@ -1,26 +1,7 @@ /* - - IconMenuItem.h - - ProcessController - (c) 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _ICON_MENU_ITEM_H_ #define _ICON_MENU_ITEM_H_ diff --git a/src/apps/processcontroller/KernelMemoryBarMenuItem.cpp b/src/apps/processcontroller/KernelMemoryBarMenuItem.cpp index 89cd505498..951ddc5c56 100644 --- a/src/apps/processcontroller/KernelMemoryBarMenuItem.cpp +++ b/src/apps/processcontroller/KernelMemoryBarMenuItem.cpp @@ -1,21 +1,7 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #include "KernelMemoryBarMenuItem.h" diff --git a/src/apps/processcontroller/KernelMemoryBarMenuItem.h b/src/apps/processcontroller/KernelMemoryBarMenuItem.h index f518f8ccf5..caaa79da6b 100644 --- a/src/apps/processcontroller/KernelMemoryBarMenuItem.h +++ b/src/apps/processcontroller/KernelMemoryBarMenuItem.h @@ -1,21 +1,7 @@ /* - ProcessController @ 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _KERNEL_MEMORY_BAR_MENU_ITEM_H_ #define _KERNEL_MEMORY_BAR_MENU_ITEM_H_ diff --git a/src/apps/processcontroller/MemoryBarMenu.cpp b/src/apps/processcontroller/MemoryBarMenu.cpp index 125189dee0..52c561fea9 100644 --- a/src/apps/processcontroller/MemoryBarMenu.cpp +++ b/src/apps/processcontroller/MemoryBarMenu.cpp @@ -1,21 +1,7 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #include "MemoryBarMenu.h" diff --git a/src/apps/processcontroller/MemoryBarMenu.h b/src/apps/processcontroller/MemoryBarMenu.h index 627619608f..e9f43d7587 100644 --- a/src/apps/processcontroller/MemoryBarMenu.h +++ b/src/apps/processcontroller/MemoryBarMenu.h @@ -1,21 +1,7 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #ifndef MEMORY_BAR_MENU_H #define MEMORY_BAR_MENU_H diff --git a/src/apps/processcontroller/MemoryBarMenuItem.cpp b/src/apps/processcontroller/MemoryBarMenuItem.cpp index 8c8020e0d7..0c70215e3c 100644 --- a/src/apps/processcontroller/MemoryBarMenuItem.cpp +++ b/src/apps/processcontroller/MemoryBarMenuItem.cpp @@ -1,21 +1,7 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #include "MemoryBarMenuItem.h" diff --git a/src/apps/processcontroller/MemoryBarMenuItem.h b/src/apps/processcontroller/MemoryBarMenuItem.h index 586a18b9af..ae0744ce10 100644 --- a/src/apps/processcontroller/MemoryBarMenuItem.h +++ b/src/apps/processcontroller/MemoryBarMenuItem.h @@ -1,21 +1,7 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _MEMORY_BAR_MENU_ITEM_H_ #define _MEMORY_BAR_MENU_ITEM_H_ diff --git a/src/apps/processcontroller/NoiseBarMenuItem.cpp b/src/apps/processcontroller/NoiseBarMenuItem.cpp index 6bdda1082e..5b0446cb36 100644 --- a/src/apps/processcontroller/NoiseBarMenuItem.cpp +++ b/src/apps/processcontroller/NoiseBarMenuItem.cpp @@ -1,21 +1,7 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #include "NoiseBarMenuItem.h" diff --git a/src/apps/processcontroller/NoiseBarMenuItem.h b/src/apps/processcontroller/NoiseBarMenuItem.h index 9c38aa1661..d89022fddf 100644 --- a/src/apps/processcontroller/NoiseBarMenuItem.h +++ b/src/apps/processcontroller/NoiseBarMenuItem.h @@ -1,26 +1,7 @@ /* - - NoiseBarMenuItem.h - - ProcessController - © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _NOISE_BAR_MENU_ITEM_H_ #define _NOISE_BAR_MENU_ITEM_H_ @@ -36,7 +17,7 @@ class NoiseBarMenuItem : public BMenuItem { virtual void GetContentSize(float* width, float* height); void DrawBar(bool force); - + double BusyWaiting() const { return fBusyWaiting; @@ -45,7 +26,7 @@ class NoiseBarMenuItem : public BMenuItem { void SetBusyWaiting(double busyWaiting) { fBusyWaiting = busyWaiting; - } + } void SetLost(double lost) { diff --git a/src/apps/processcontroller/PCWindow.cpp b/src/apps/processcontroller/PCWindow.cpp index 852e179591..0baedeeeba 100644 --- a/src/apps/processcontroller/PCWindow.cpp +++ b/src/apps/processcontroller/PCWindow.cpp @@ -1,21 +1,7 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #include "PCWorld.h" diff --git a/src/apps/processcontroller/PCWindow.h b/src/apps/processcontroller/PCWindow.h index bc8f2f2d63..dee034c287 100644 --- a/src/apps/processcontroller/PCWindow.h +++ b/src/apps/processcontroller/PCWindow.h @@ -1,21 +1,7 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _PCWINDOW_H_ #define _PCWINDOW_H_ @@ -25,7 +11,7 @@ class PCWindow : public BWindow { public: - PCWindow(); + PCWindow(); ~PCWindow(); virtual bool QuitRequested(); diff --git a/src/apps/processcontroller/PCWorld.cpp b/src/apps/processcontroller/PCWorld.cpp index e54bd4a5e6..ee45ddf525 100644 --- a/src/apps/processcontroller/PCWorld.cpp +++ b/src/apps/processcontroller/PCWorld.cpp @@ -1,23 +1,7 @@ /* - PCWorld.cpp - - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #include "PCWorld.h" diff --git a/src/apps/processcontroller/PCWorld.h b/src/apps/processcontroller/PCWorld.h index f07b85d7ef..425f0ea300 100644 --- a/src/apps/processcontroller/PCWorld.h +++ b/src/apps/processcontroller/PCWorld.h @@ -1,21 +1,7 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _PCWORLD_H_ #define _PCWORLD_H_ diff --git a/src/apps/processcontroller/Preferences.cpp b/src/apps/processcontroller/Preferences.cpp index 3eb8d53bb9..f210beae26 100644 --- a/src/apps/processcontroller/Preferences.cpp +++ b/src/apps/processcontroller/Preferences.cpp @@ -1,21 +1,7 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #include "Preferences.h" diff --git a/src/apps/processcontroller/Preferences.h b/src/apps/processcontroller/Preferences.h index 187ef182fb..be59ee0a86 100644 --- a/src/apps/processcontroller/Preferences.h +++ b/src/apps/processcontroller/Preferences.h @@ -1,26 +1,7 @@ /* - - Preferences.h - - ProcessController - (c) 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #ifndef PREFERENCES_H #define PREFERENCES_H diff --git a/src/apps/processcontroller/PriorityMenu.cpp b/src/apps/processcontroller/PriorityMenu.cpp index e50bb30d62..e717ea6907 100644 --- a/src/apps/processcontroller/PriorityMenu.cpp +++ b/src/apps/processcontroller/PriorityMenu.cpp @@ -1,21 +1,7 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #include "PriorityMenu.h" diff --git a/src/apps/processcontroller/PriorityMenu.h b/src/apps/processcontroller/PriorityMenu.h index 7614b8136c..98d74482a5 100644 --- a/src/apps/processcontroller/PriorityMenu.h +++ b/src/apps/processcontroller/PriorityMenu.h @@ -1,27 +1,7 @@ /* - - PriorityMenu.h - - ProcessController - © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -*/ - + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _PRIORITY_MENU_H_ #define _PRIORITY_MENU_H_ diff --git a/src/apps/processcontroller/ProcessController.cpp b/src/apps/processcontroller/ProcessController.cpp index 6f769fd1a5..657bcb9a22 100644 --- a/src/apps/processcontroller/ProcessController.cpp +++ b/src/apps/processcontroller/ProcessController.cpp @@ -1,22 +1,8 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - Copyright (c) 2006-2018, Haiku, Inc. All rights reserved. - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Copyright 2006-2018, Haiku, Inc. All rights reserved. + * Distributed under the terms of the MIT License. + */ #include "ProcessController.h" diff --git a/src/apps/processcontroller/ProcessController.h b/src/apps/processcontroller/ProcessController.h index c45f7a5a90..52fb3753d1 100644 --- a/src/apps/processcontroller/ProcessController.h +++ b/src/apps/processcontroller/ProcessController.h @@ -1,22 +1,8 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - Copyright (c) 2006-2018, Haiku, Inc. All rights reserved. - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Copyright 2006-2018, Haiku, Inc. All rights reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _PCVIEW_H_ #define _PCVIEW_H_ diff --git a/src/apps/processcontroller/QuitMenu.cpp b/src/apps/processcontroller/QuitMenu.cpp index 1ed69b0a7d..ee4192dc98 100644 --- a/src/apps/processcontroller/QuitMenu.cpp +++ b/src/apps/processcontroller/QuitMenu.cpp @@ -1,21 +1,7 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #include "QuitMenu.h" @@ -39,7 +25,7 @@ class QuitMenuItem : public IconMenuItem { QuitMenuItem::QuitMenuItem(team_id team, BBitmap* icon, const char* title, - BMessage* m, bool purge) + BMessage* m, bool purge) : IconMenuItem(icon, title, m, true, purge), fTeam(team) { diff --git a/src/apps/processcontroller/QuitMenu.h b/src/apps/processcontroller/QuitMenu.h index d50d660e65..42c1f4bec8 100644 --- a/src/apps/processcontroller/QuitMenu.h +++ b/src/apps/processcontroller/QuitMenu.h @@ -1,21 +1,7 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _QUIT_MENU_H_ #define _QUIT_MENU_H_ diff --git a/src/apps/processcontroller/TeamBarMenu.cpp b/src/apps/processcontroller/TeamBarMenu.cpp index 89fc4beef3..f65ef1926e 100644 --- a/src/apps/processcontroller/TeamBarMenu.cpp +++ b/src/apps/processcontroller/TeamBarMenu.cpp @@ -1,21 +1,7 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #include "TeamBarMenu.h" @@ -161,8 +147,8 @@ TeamBarMenu::Pulse() if (item) { RemoveItem(item); delete item; - } - + } + // Delete the items that haven't been recycled. if (firstRecycle < lastRecycle) RemoveItems(IndexOf(fRecycleList[firstRecycle].item), lastRecycle - firstRecycle, true); @@ -180,7 +166,7 @@ TeamBarMenu::Pulse() noiseItem->SetLost(0); noiseItem->DrawBar(false); } - + if (gCurrentThreadBarMenu && gCurrentThreadBarMenu->LockLooperWithTimeout(25000) == B_OK) { gCurrentThreadBarMenu->Window()->BeginViewTransaction(); gCurrentThreadBarMenu->Update(); diff --git a/src/apps/processcontroller/TeamBarMenu.h b/src/apps/processcontroller/TeamBarMenu.h index 4ce7e0fe94..3c0e2f661a 100644 --- a/src/apps/processcontroller/TeamBarMenu.h +++ b/src/apps/processcontroller/TeamBarMenu.h @@ -1,21 +1,7 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _TEAM_BAR_MENU_H_ #define _TEAM_BAR_MENU_H_ diff --git a/src/apps/processcontroller/TeamBarMenuItem.cpp b/src/apps/processcontroller/TeamBarMenuItem.cpp index 8bc10efc4e..b0b588ed69 100644 --- a/src/apps/processcontroller/TeamBarMenuItem.cpp +++ b/src/apps/processcontroller/TeamBarMenuItem.cpp @@ -1,21 +1,7 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #include "TeamBarMenuItem.h" diff --git a/src/apps/processcontroller/TeamBarMenuItem.h b/src/apps/processcontroller/TeamBarMenuItem.h index 925f191ba7..66a872e283 100644 --- a/src/apps/processcontroller/TeamBarMenuItem.h +++ b/src/apps/processcontroller/TeamBarMenuItem.h @@ -1,21 +1,7 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _TEAM_BAR_MENU_ITEM_H_ #define _TEAM_BAR_MENU_ITEM_H_ diff --git a/src/apps/processcontroller/ThreadBarMenu.cpp b/src/apps/processcontroller/ThreadBarMenu.cpp index eb7022eb5b..2df8d3e1ba 100644 --- a/src/apps/processcontroller/ThreadBarMenu.cpp +++ b/src/apps/processcontroller/ThreadBarMenu.cpp @@ -1,21 +1,7 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #include "ThreadBarMenu.h" diff --git a/src/apps/processcontroller/ThreadBarMenu.h b/src/apps/processcontroller/ThreadBarMenu.h index 7faaf0d33a..34bd7685a6 100644 --- a/src/apps/processcontroller/ThreadBarMenu.h +++ b/src/apps/processcontroller/ThreadBarMenu.h @@ -1,21 +1,7 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _THREAD_BAR_MENU_H_ #define _THREAD_BAR_MENU_H_ diff --git a/src/apps/processcontroller/ThreadBarMenuItem.cpp b/src/apps/processcontroller/ThreadBarMenuItem.cpp index 72f0367b53..2918f7fd22 100644 --- a/src/apps/processcontroller/ThreadBarMenuItem.cpp +++ b/src/apps/processcontroller/ThreadBarMenuItem.cpp @@ -1,21 +1,7 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #include "ThreadBarMenuItem.h" diff --git a/src/apps/processcontroller/ThreadBarMenuItem.h b/src/apps/processcontroller/ThreadBarMenuItem.h index 01909b4655..3489baaac1 100644 --- a/src/apps/processcontroller/ThreadBarMenuItem.h +++ b/src/apps/processcontroller/ThreadBarMenuItem.h @@ -1,21 +1,7 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _THREAD_BAR_MENU_ITEM_H_ #define _THREAD_BAR_MENU_ITEM_H_ diff --git a/src/apps/processcontroller/Utilities.cpp b/src/apps/processcontroller/Utilities.cpp index b4156ddb46..60fef30179 100644 --- a/src/apps/processcontroller/Utilities.cpp +++ b/src/apps/processcontroller/Utilities.cpp @@ -1,21 +1,7 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #include "Utilities.h" diff --git a/src/apps/processcontroller/Utilities.h b/src/apps/processcontroller/Utilities.h index d66139b59c..3e931a6093 100644 --- a/src/apps/processcontroller/Utilities.h +++ b/src/apps/processcontroller/Utilities.h @@ -1,21 +1,7 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ #ifndef UTILITIES_H #define UTILITIES_H diff --git a/src/apps/processcontroller/icons.h b/src/apps/processcontroller/icons.h index 6f4e70fc30..d3dbce4c2e 100644 --- a/src/apps/processcontroller/icons.h +++ b/src/apps/processcontroller/icons.h @@ -1,21 +1,7 @@ /* - ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved. - Copyright (C) 2004 beunited.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + * Copyright 2000, Georges-Edouard Berenger. All rights reserved. + * Distributed under the terms of the MIT License. + */ const uchar k_cpu_mini[] = { 0xFF, 0xFF, 0x00, 0xFF, 0x00, 0xFF, 0x00, 0xFF, 0x00, 0xFF, 0x00, 0xFF, 0x00, 0xFF, 0xFF, 0xFF,