Return B_ERROR in unimplemented methods
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16486 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
111b4fbcaf
commit
6b8c9f5708
@ -43,8 +43,8 @@ EnsureValidMessenger()
|
|||||||
if (sPrintServer == NULL)
|
if (sPrintServer == NULL)
|
||||||
sPrintServer = new BMessenger;
|
sPrintServer = new BMessenger;
|
||||||
|
|
||||||
if (sPrintServer == NULL)
|
if (sPrintServer == NULL)
|
||||||
return B_NO_MEMORY;
|
return B_NO_MEMORY;
|
||||||
|
|
||||||
if (!sPrintServer->IsValid())
|
if (!sPrintServer->IsValid())
|
||||||
*sPrintServer = BMessenger(PSRV_SIGNATURE_TYPE);
|
*sPrintServer = BMessenger(PSRV_SIGNATURE_TYPE);
|
||||||
@ -139,7 +139,7 @@ BPrintJob::CommitJob()
|
|||||||
// TODO: Show an alert
|
// TODO: Show an alert
|
||||||
delete message;
|
delete message;
|
||||||
delete reply;
|
delete reply;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
delete message;
|
delete message;
|
||||||
@ -170,7 +170,8 @@ status_t
|
|||||||
BPrintJob::ConfigJob()
|
BPrintJob::ConfigJob()
|
||||||
{
|
{
|
||||||
// TODO: Implement
|
// TODO: Implement
|
||||||
return B_OK;
|
|
||||||
|
return ConfigPage();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -185,8 +186,9 @@ BPrintJob::CancelJob()
|
|||||||
|
|
||||||
status_t
|
status_t
|
||||||
BPrintJob::ConfigPage()
|
BPrintJob::ConfigPage()
|
||||||
{
|
{
|
||||||
return B_OK;
|
// TODO: Launch config window and get settings from it
|
||||||
|
return B_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user