0
|
1 |
/* Copyright (c) 2008 - 2010 Nokia Corporation
|
|
2 |
*
|
|
3 |
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4 |
* you may not use this file except in compliance with the License.
|
|
5 |
* You may obtain a copy of the License at
|
|
6 |
*
|
|
7 |
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8 |
*
|
|
9 |
* Unless required by applicable law or agreed to in writing, software
|
|
10 |
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
11 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12 |
* See the License for the specific language governing permissions and
|
|
13 |
* limitations under the License.
|
|
14 |
*/
|
|
15 |
|
|
16 |
#ifndef SERVICEERRNO_H
|
|
17 |
#define SERVICEERRNO_H
|
|
18 |
|
|
19 |
#define SERRBASE 1000
|
|
20 |
|
|
21 |
enum SapiErrors
|
|
22 |
{
|
|
23 |
|
|
24 |
SErrNone ,
|
|
25 |
|
|
26 |
SErrInvalidServiceArgument = SERRBASE,
|
|
27 |
SErrUnknownArgumentName ,
|
|
28 |
SErrBadArgumentType ,
|
|
29 |
SErrMissingArgument ,
|
|
30 |
SErrServiceNotSupported ,
|
|
31 |
SErrServiceInUse ,
|
|
32 |
SErrServiceNotReady ,
|
|
33 |
SErrNoMemory ,
|
|
34 |
SErrHardwareNotAvailable ,
|
|
35 |
SErrServerBusy ,
|
|
36 |
SErrEntryExists ,
|
|
37 |
SErrAccessDenied ,
|
|
38 |
SErrNotFound ,
|
|
39 |
SErrUnknownFormat ,
|
|
40 |
SErrGeneralError ,
|
|
41 |
SErrCancelSuccess,
|
|
42 |
SErrServiceTimedOut,
|
|
43 |
SErrFileAlreadyExists,
|
|
44 |
SErrPathNotFound
|
|
45 |
};
|
|
46 |
|
|
47 |
|
|
48 |
#endif
|