Header updates
Tweaked a couple BAlerts to be a bit more standardized git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19593 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a722aa3c66
commit
314167cd80
@ -1,34 +1,10 @@
|
|||||||
/*****************************************************************************/
|
/*
|
||||||
// ConfigWindow
|
* Copyright 2002-2006, Haiku. All rights reserved.
|
||||||
//
|
* Distributed under the terms of the MIT License.
|
||||||
// Author
|
*
|
||||||
// Michael Pfeiffer
|
* Authors:
|
||||||
//
|
* Michael Pfeiffer
|
||||||
// This application and all source files used in its construction, except
|
*/
|
||||||
// where noted, are licensed under the MIT License, and have been written
|
|
||||||
// and are:
|
|
||||||
//
|
|
||||||
// Copyright (c) 2002 OpenBeOS Project
|
|
||||||
//
|
|
||||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
// copy of this software and associated documentation files (the "Software"),
|
|
||||||
// to deal in the Software without restriction, including without limitation
|
|
||||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
// and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
// Software is furnished to do so, subject to the following conditions:
|
|
||||||
//
|
|
||||||
// The above copyright notice and this permission notice shall be included
|
|
||||||
// in all copies or substantial portions of the Software.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
||||||
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
||||||
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
// DEALINGS IN THE SOFTWARE.
|
|
||||||
/*****************************************************************************/
|
|
||||||
|
|
||||||
|
|
||||||
#include "pr_server.h"
|
#include "pr_server.h"
|
||||||
#include "Printer.h"
|
#include "Printer.h"
|
||||||
@ -247,7 +223,7 @@ void ConfigWindow::MessageReceived(BMessage* m) {
|
|||||||
static const char*
|
static const char*
|
||||||
kAbout =
|
kAbout =
|
||||||
"Printer Server\n"
|
"Printer Server\n"
|
||||||
"© 2001, 2002 OpenBeOS\n"
|
"© 2001-2006 Haiku\n"
|
||||||
"\n"
|
"\n"
|
||||||
"\tIthamar R. Adema - Initial Implementation\n"
|
"\tIthamar R. Adema - Initial Implementation\n"
|
||||||
"\tMichael Pfeiffer - Release 1 and beyond\n"
|
"\tMichael Pfeiffer - Release 1 and beyond\n"
|
||||||
@ -256,7 +232,7 @@ kAbout =
|
|||||||
void
|
void
|
||||||
ConfigWindow::AboutRequested()
|
ConfigWindow::AboutRequested()
|
||||||
{
|
{
|
||||||
BAlert *about = new BAlert("About Printer Server", kAbout, "Cool");
|
BAlert *about = new BAlert("About Printer Server", kAbout, "OK");
|
||||||
BTextView *v = about->TextView();
|
BTextView *v = about->TextView();
|
||||||
if (v) {
|
if (v) {
|
||||||
rgb_color red = {255, 0, 51, 255};
|
rgb_color red = {255, 0, 51, 255};
|
||||||
|
@ -1,33 +1,10 @@
|
|||||||
/*****************************************************************************/
|
/*
|
||||||
// ConfigWindow
|
* Copyright 2002-2006, Haiku. All rights reserved.
|
||||||
//
|
* Distributed under the terms of the MIT License.
|
||||||
// Author
|
*
|
||||||
// Michael Pfeiffer
|
* Authors:
|
||||||
//
|
* Michael Pfeiffer
|
||||||
// This application and all source files used in its construction, except
|
*/
|
||||||
// where noted, are licensed under the MIT License, and have been written
|
|
||||||
// and are:
|
|
||||||
//
|
|
||||||
// Copyright (c) 2002 OpenBeOS Project
|
|
||||||
//
|
|
||||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
// copy of this software and associated documentation files (the "Software"),
|
|
||||||
// to deal in the Software without restriction, including without limitation
|
|
||||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
// and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
// Software is furnished to do so, subject to the following conditions:
|
|
||||||
//
|
|
||||||
// The above copyright notice and this permission notice shall be included
|
|
||||||
// in all copies or substantial portions of the Software.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
||||||
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
||||||
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
// DEALINGS IN THE SOFTWARE.
|
|
||||||
/*****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef _CONFIG_WINDOW_H
|
#ifndef _CONFIG_WINDOW_H
|
||||||
#define _CONFIG_WINDOW_H
|
#define _CONFIG_WINDOW_H
|
||||||
|
@ -1,40 +1,11 @@
|
|||||||
/*****************************************************************************/
|
/*
|
||||||
// print_server Background Application.
|
* Copyright 2002-2006, Haiku. All rights reserved.
|
||||||
//
|
* Distributed under the terms of the MIT License.
|
||||||
// Version: 1.0.0d1
|
*
|
||||||
//
|
* Authors:
|
||||||
// The print_server manages the communication between applications and the
|
* Ithamar R. Adema
|
||||||
// printer and transport drivers.
|
* Michael Pfeiffer
|
||||||
//
|
*/
|
||||||
// Authors
|
|
||||||
// Ithamar R. Adema
|
|
||||||
// Michael Pfeiffer
|
|
||||||
//
|
|
||||||
// This application and all source files used in its construction, except
|
|
||||||
// where noted, are licensed under the MIT License, and have been written
|
|
||||||
// and are:
|
|
||||||
//
|
|
||||||
// Copyright (c) 2001, 2002 OpenBeOS Project
|
|
||||||
//
|
|
||||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
// copy of this software and associated documentation files (the "Software"),
|
|
||||||
// to deal in the Software without restriction, including without limitation
|
|
||||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
// and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
// Software is furnished to do so, subject to the following conditions:
|
|
||||||
//
|
|
||||||
// The above copyright notice and this permission notice shall be included
|
|
||||||
// in all copies or substantial portions of the Software.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
||||||
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
||||||
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
// DEALINGS IN THE SOFTWARE.
|
|
||||||
/*****************************************************************************/
|
|
||||||
|
|
||||||
#include "PrintServerApp.h"
|
#include "PrintServerApp.h"
|
||||||
|
|
||||||
#include "pr_server.h"
|
#include "pr_server.h"
|
||||||
@ -93,7 +64,7 @@ status_t PrintServerApp::async_thread(void* data)
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// If no default printer, give user choice of aborting or setting up a printer
|
// If no default printer, give user choice of aborting or setting up a printer
|
||||||
BAlert* alert = new BAlert("Info", "Hang on there! You don't have any printers set up!\nYou'll need to do that before trying to print\n\nWould you like to set up a printer now?", "No thanks", "Sure!");
|
BAlert* alert = new BAlert("Info", "There are no printers set up. Would you set one up now?", "No", "Yes");
|
||||||
if (alert->Go() == 1) {
|
if (alert->Go() == 1) {
|
||||||
run_add_printer_panel();
|
run_add_printer_panel();
|
||||||
}
|
}
|
||||||
@ -147,7 +118,7 @@ status_t PrintServerApp::async_thread(void* data)
|
|||||||
transportName.String(), transportPath.String()) == B_OK) {
|
transportName.String(), transportPath.String()) == B_OK) {
|
||||||
// If printer was created ok, ask if it needs to be the default
|
// If printer was created ok, ask if it needs to be the default
|
||||||
char buffer[256];
|
char buffer[256];
|
||||||
::sprintf(buffer, "Would you like to make %s the default\nprinter?",
|
::sprintf(buffer, "Would you like to make %s the default printer?",
|
||||||
printerName.String());
|
printerName.String());
|
||||||
|
|
||||||
BAlert* alert = new BAlert("", buffer, "No", "Yes");
|
BAlert* alert = new BAlert("", buffer, "No", "Yes");
|
||||||
@ -235,7 +206,7 @@ void PrintServerApp::Handle_BeOSR5_Message(BMessage* msg)
|
|||||||
transportName.String(), transportPath.String()) == B_OK) {
|
transportName.String(), transportPath.String()) == B_OK) {
|
||||||
// If printer was created ok, ask if it needs to be the default
|
// If printer was created ok, ask if it needs to be the default
|
||||||
char buffer[256];
|
char buffer[256];
|
||||||
::sprintf(buffer, "Would you like to make %s the default\nprinter?",
|
::sprintf(buffer, "Would you like to make %s the default printer?",
|
||||||
printerName.String());
|
printerName.String());
|
||||||
|
|
||||||
BAlert* alert = new BAlert("", buffer, "No", "Yes");
|
BAlert* alert = new BAlert("", buffer, "No", "Yes");
|
||||||
|
@ -1,39 +1,10 @@
|
|||||||
/*****************************************************************************/
|
/*
|
||||||
// print_server Background Application.
|
* Copyright 2002-2006, Haiku. All rights reserved.
|
||||||
//
|
* Distributed under the terms of the MIT License.
|
||||||
// Version: 1.0.0d1
|
*
|
||||||
//
|
* Authors:
|
||||||
// The print_server manages the communication between applications and the
|
* Ithamar R. Adema
|
||||||
// printer and transport drivers.
|
*/
|
||||||
//
|
|
||||||
// Author
|
|
||||||
// Ithamar R. Adema
|
|
||||||
//
|
|
||||||
// This application and all source files used in its construction, except
|
|
||||||
// where noted, are licensed under the MIT License, and have been written
|
|
||||||
// and are:
|
|
||||||
//
|
|
||||||
// Copyright (c) 2001, 2002 OpenBeOS Project
|
|
||||||
//
|
|
||||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
// copy of this software and associated documentation files (the "Software"),
|
|
||||||
// to deal in the Software without restriction, including without limitation
|
|
||||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
// and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
// Software is furnished to do so, subject to the following conditions:
|
|
||||||
//
|
|
||||||
// The above copyright notice and this permission notice shall be included
|
|
||||||
// in all copies or substantial portions of the Software.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
||||||
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
||||||
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
// DEALINGS IN THE SOFTWARE.
|
|
||||||
/*****************************************************************************/
|
|
||||||
|
|
||||||
#include "PrintServerApp.h"
|
#include "PrintServerApp.h"
|
||||||
|
|
||||||
#include "Printer.h"
|
#include "Printer.h"
|
||||||
|
@ -1,40 +1,11 @@
|
|||||||
/*****************************************************************************/
|
/*
|
||||||
// print_server Background Application.
|
* Copyright 2002-2006, Haiku. All rights reserved.
|
||||||
//
|
* Distributed under the terms of the MIT License.
|
||||||
// Version: 1.0.0d1
|
*
|
||||||
//
|
* Authors:
|
||||||
// The print_server manages the communication between applications and the
|
* Ithamar R. Adema
|
||||||
// printer and transport drivers.
|
* Michael Pfeiffer
|
||||||
//
|
*/
|
||||||
// Authors
|
|
||||||
// Ithamar R. Adema
|
|
||||||
// Michael Pfeiffer
|
|
||||||
//
|
|
||||||
// This application and all source files used in its construction, except
|
|
||||||
// where noted, are licensed under the MIT License, and have been written
|
|
||||||
// and are:
|
|
||||||
//
|
|
||||||
// Copyright (c) 2001, 2002 OpenBeOS Project
|
|
||||||
//
|
|
||||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
// copy of this software and associated documentation files (the "Software"),
|
|
||||||
// to deal in the Software without restriction, including without limitation
|
|
||||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
// and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
// Software is furnished to do so, subject to the following conditions:
|
|
||||||
//
|
|
||||||
// The above copyright notice and this permission notice shall be included
|
|
||||||
// in all copies or substantial portions of the Software.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
||||||
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
||||||
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
// DEALINGS IN THE SOFTWARE.
|
|
||||||
/*****************************************************************************/
|
|
||||||
|
|
||||||
#include "PrintServerApp.h"
|
#include "PrintServerApp.h"
|
||||||
|
|
||||||
#include "BeUtils.h"
|
#include "BeUtils.h"
|
||||||
|
@ -1,40 +1,11 @@
|
|||||||
/*****************************************************************************/
|
/*
|
||||||
// print_server Background Application.
|
* Copyright 2002-2006, Haiku. All rights reserved.
|
||||||
//
|
* Distributed under the terms of the MIT License.
|
||||||
// Version: 1.0.0d1
|
*
|
||||||
//
|
* Authors:
|
||||||
// The print_server manages the communication between applications and the
|
* Ithamar R. Adema
|
||||||
// printer and transport drivers.
|
* Michael Pfeiffer
|
||||||
//
|
*/
|
||||||
// Authors
|
|
||||||
// Ithamar R. Adema
|
|
||||||
// Michael Pfeiffer
|
|
||||||
//
|
|
||||||
// This application and all source files used in its construction, except
|
|
||||||
// where noted, are licensed under the MIT License, and have been written
|
|
||||||
// and are:
|
|
||||||
//
|
|
||||||
// Copyright (c) 2001, 2002 OpenBeOS Project
|
|
||||||
//
|
|
||||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
// copy of this software and associated documentation files (the "Software"),
|
|
||||||
// to deal in the Software without restriction, including without limitation
|
|
||||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
// and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
// Software is furnished to do so, subject to the following conditions:
|
|
||||||
//
|
|
||||||
// The above copyright notice and this permission notice shall be included
|
|
||||||
// in all copies or substantial portions of the Software.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
||||||
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
||||||
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
// DEALINGS IN THE SOFTWARE.
|
|
||||||
/*****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef PRINTSERVERAPP_H
|
#ifndef PRINTSERVERAPP_H
|
||||||
#define PRINTSERVERAPP_H
|
#define PRINTSERVERAPP_H
|
||||||
|
|
||||||
|
@ -1,39 +1,10 @@
|
|||||||
/*****************************************************************************/
|
/*
|
||||||
// print_server Background Application.
|
* Copyright 2002-2006, Haiku. All rights reserved.
|
||||||
//
|
* Distributed under the terms of the MIT License.
|
||||||
// Version: 1.0.0d1
|
*
|
||||||
//
|
* Authors:
|
||||||
// The print_server manages the communication between applications and the
|
* Ithamar R. Adema
|
||||||
// printer and transport drivers.
|
*/
|
||||||
//
|
|
||||||
// Author
|
|
||||||
// Ithamar R. Adema
|
|
||||||
//
|
|
||||||
// This application and all source files used in its construction, except
|
|
||||||
// where noted, are licensed under the MIT License, and have been written
|
|
||||||
// and are:
|
|
||||||
//
|
|
||||||
// Copyright (c) 2001, 2002 OpenBeOS Project
|
|
||||||
//
|
|
||||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
// copy of this software and associated documentation files (the "Software"),
|
|
||||||
// to deal in the Software without restriction, including without limitation
|
|
||||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
// and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
// Software is furnished to do so, subject to the following conditions:
|
|
||||||
//
|
|
||||||
// The above copyright notice and this permission notice shall be included
|
|
||||||
// in all copies or substantial portions of the Software.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
||||||
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
||||||
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
// DEALINGS IN THE SOFTWARE.
|
|
||||||
/*****************************************************************************/
|
|
||||||
|
|
||||||
#include "Printer.h"
|
#include "Printer.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,40 +1,11 @@
|
|||||||
/*****************************************************************************/
|
/*
|
||||||
// print_server Background Application.
|
* Copyright 2002-2006, Haiku. All rights reserved.
|
||||||
//
|
* Distributed under the terms of the MIT License.
|
||||||
// Version: 1.0.0d1
|
*
|
||||||
//
|
* Authors:
|
||||||
// The print_server manages the communication between applications and the
|
* Ithamar R. Adema
|
||||||
// printer and transport drivers.
|
* Michael Pfeiffer
|
||||||
//
|
*/
|
||||||
// Authors
|
|
||||||
// Ithamar R. Adema
|
|
||||||
// Michael Pfeiffer
|
|
||||||
//
|
|
||||||
// This application and all source files used in its construction, except
|
|
||||||
// where noted, are licensed under the MIT License, and have been written
|
|
||||||
// and are:
|
|
||||||
//
|
|
||||||
// Copyright (c) 2001,2002 OpenBeOS Project
|
|
||||||
//
|
|
||||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
// copy of this software and associated documentation files (the "Software"),
|
|
||||||
// to deal in the Software without restriction, including without limitation
|
|
||||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
// and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
// Software is furnished to do so, subject to the following conditions:
|
|
||||||
//
|
|
||||||
// The above copyright notice and this permission notice shall be included
|
|
||||||
// in all copies or substantial portions of the Software.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
||||||
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
||||||
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
// DEALINGS IN THE SOFTWARE.
|
|
||||||
/*****************************************************************************/
|
|
||||||
|
|
||||||
#include "Printer.h"
|
#include "Printer.h"
|
||||||
|
|
||||||
#include "pr_server.h"
|
#include "pr_server.h"
|
||||||
|
@ -1,40 +1,11 @@
|
|||||||
/*****************************************************************************/
|
/*
|
||||||
// print_server Background Application.
|
* Copyright 2002-2006, Haiku. All rights reserved.
|
||||||
//
|
* Distributed under the terms of the MIT License.
|
||||||
// Version: 1.0.0d1
|
*
|
||||||
//
|
* Authors:
|
||||||
// The print_server manages the communication between applications and the
|
* Ithamar R. Adema
|
||||||
// printer and transport drivers.
|
* Michael Pfeiffer
|
||||||
//
|
*/
|
||||||
// Authors
|
|
||||||
// Ithamar R. Adema
|
|
||||||
// Michael Pfeiffer
|
|
||||||
//
|
|
||||||
// This application and all source files used in its construction, except
|
|
||||||
// where noted, are licensed under the MIT License, and have been written
|
|
||||||
// and are:
|
|
||||||
//
|
|
||||||
// Copyright (c) 2001, 2002 OpenBeOS Project
|
|
||||||
//
|
|
||||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
// copy of this software and associated documentation files (the "Software"),
|
|
||||||
// to deal in the Software without restriction, including without limitation
|
|
||||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
// and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
// Software is furnished to do so, subject to the following conditions:
|
|
||||||
//
|
|
||||||
// The above copyright notice and this permission notice shall be included
|
|
||||||
// in all copies or substantial portions of the Software.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
||||||
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
||||||
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
// DEALINGS IN THE SOFTWARE.
|
|
||||||
/*****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef PRINTER_H
|
#ifndef PRINTER_H
|
||||||
#define PRINTER_H
|
#define PRINTER_H
|
||||||
|
|
||||||
|
@ -1,34 +1,10 @@
|
|||||||
/*****************************************************************************/
|
/*
|
||||||
// ResourceManager
|
* Copyright 2002-2006, Haiku. All rights reserved.
|
||||||
//
|
* Distributed under the terms of the MIT License.
|
||||||
// Author
|
*
|
||||||
// Michael Pfeiffer
|
* Authors:
|
||||||
//
|
* Michael Pfeiffer
|
||||||
// This application and all source files used in its construction, except
|
*/
|
||||||
// where noted, are licensed under the MIT License, and have been written
|
|
||||||
// and are:
|
|
||||||
//
|
|
||||||
// Copyright (c) 2002 OpenBeOS Project
|
|
||||||
//
|
|
||||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
// copy of this software and associated documentation files (the "Software"),
|
|
||||||
// to deal in the Software without restriction, including without limitation
|
|
||||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
// and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
// Software is furnished to do so, subject to the following conditions:
|
|
||||||
//
|
|
||||||
// The above copyright notice and this permission notice shall be included
|
|
||||||
// in all copies or substantial portions of the Software.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
||||||
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
||||||
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
// DEALINGS IN THE SOFTWARE.
|
|
||||||
/*****************************************************************************/
|
|
||||||
|
|
||||||
#include "ResourceManager.h"
|
#include "ResourceManager.h"
|
||||||
|
|
||||||
#include <Debug.h>
|
#include <Debug.h>
|
||||||
|
@ -1,35 +1,10 @@
|
|||||||
/*****************************************************************************/
|
/*
|
||||||
// ResourceManager
|
* Copyright 2002-2006, Haiku. All rights reserved.
|
||||||
//
|
* Distributed under the terms of the MIT License.
|
||||||
// Author
|
*
|
||||||
// Michael Pfeiffer
|
* Authors:
|
||||||
//
|
* Michael Pfeiffer
|
||||||
// This application and all source files used in its construction, except
|
*/
|
||||||
// where noted, are licensed under the MIT License, and have been written
|
|
||||||
// and are:
|
|
||||||
//
|
|
||||||
// Copyright (c) 2002 OpenBeOS Project
|
|
||||||
//
|
|
||||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
// copy of this software and associated documentation files (the "Software"),
|
|
||||||
// to deal in the Software without restriction, including without limitation
|
|
||||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
// and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
// Software is furnished to do so, subject to the following conditions:
|
|
||||||
//
|
|
||||||
// The above copyright notice and this permission notice shall be included
|
|
||||||
// in all copies or substantial portions of the Software.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
||||||
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
||||||
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
// DEALINGS IN THE SOFTWARE.
|
|
||||||
/*****************************************************************************/
|
|
||||||
|
|
||||||
|
|
||||||
#ifndef RESOURCE_MANAGER_H
|
#ifndef RESOURCE_MANAGER_H
|
||||||
#define RESOURCE_MANAGER_H
|
#define RESOURCE_MANAGER_H
|
||||||
|
|
||||||
|
@ -1,35 +1,10 @@
|
|||||||
/*****************************************************************************/
|
/*
|
||||||
// Settings
|
* Copyright 2002-2006, Haiku. All rights reserved.
|
||||||
//
|
* Distributed under the terms of the MIT License.
|
||||||
// Author
|
*
|
||||||
// Michael Pfeiffer
|
* Authors:
|
||||||
//
|
* Michael Pfeiffer
|
||||||
// This application and all source files used in its construction, except
|
*/
|
||||||
// where noted, are licensed under the MIT License, and have been written
|
|
||||||
// and are:
|
|
||||||
//
|
|
||||||
// Copyright (c) 2002 OpenBeOS Project
|
|
||||||
//
|
|
||||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
// copy of this software and associated documentation files (the "Software"),
|
|
||||||
// to deal in the Software without restriction, including without limitation
|
|
||||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
// and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
// Software is furnished to do so, subject to the following conditions:
|
|
||||||
//
|
|
||||||
// The above copyright notice and this permission notice shall be included
|
|
||||||
// in all copies or substantial portions of the Software.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
||||||
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
||||||
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
// DEALINGS IN THE SOFTWARE.
|
|
||||||
/*****************************************************************************/
|
|
||||||
|
|
||||||
|
|
||||||
#include "Settings.h"
|
#include "Settings.h"
|
||||||
|
|
||||||
#include <StorageKit.h>
|
#include <StorageKit.h>
|
||||||
|
@ -1,34 +1,10 @@
|
|||||||
/*****************************************************************************/
|
/*
|
||||||
// Settings
|
* Copyright 2002-2006, Haiku. All rights reserved.
|
||||||
//
|
* Distributed under the terms of the MIT License.
|
||||||
// Author
|
*
|
||||||
// Michael Pfeiffer
|
* Authors:
|
||||||
//
|
* Michael Pfeiffer
|
||||||
// This application and all source files used in its construction, except
|
*/
|
||||||
// where noted, are licensed under the MIT License, and have been written
|
|
||||||
// and are:
|
|
||||||
//
|
|
||||||
// Copyright (c) 2002 OpenBeOS Project
|
|
||||||
//
|
|
||||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
// copy of this software and associated documentation files (the "Software"),
|
|
||||||
// to deal in the Software without restriction, including without limitation
|
|
||||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
// and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
// Software is furnished to do so, subject to the following conditions:
|
|
||||||
//
|
|
||||||
// The above copyright notice and this permission notice shall be included
|
|
||||||
// in all copies or substantial portions of the Software.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
||||||
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
||||||
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
// DEALINGS IN THE SOFTWARE.
|
|
||||||
/*****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef _SETTINGS_H
|
#ifndef _SETTINGS_H
|
||||||
#define _SETTINGS_H
|
#define _SETTINGS_H
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user