X-Git-Url: http://review.tizen.org/git/?p=framework%2Fapi%2Fapplication.git;a=blobdiff_plain;f=include%2Fapp.h;h=fe2c5c9d8e9ecc41a79f12d3b17fc36cf3b478c6;hp=704991306c5575cf0b4744de7c871f4478ee1370;hb=refs%2Fheads%2Ftizen_2.3;hpb=26f5349d1187fe8cb6893b444ce4b6637359b56a diff --git a/include/app.h b/include/app.h index 7049913..fe2c5c9 100755 --- a/include/app.h +++ b/include/app.h @@ -11,199 +11,191 @@ * distributed under the License is distributed on an AS IS BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and - * limitations under the License. + * limitations under the License. */ #ifndef __TIZEN_APPFW_APP_H__ #define __TIZEN_APPFW_APP_H__ -#include -#include -#include -#include -#include +#include +#include #include -#include +#include #ifdef __cplusplus extern "C" { #endif /** - * @addtogroup CAPI_APPLICATION_MODULE - * @{ + * @file app.h */ - -/** - * @brief Enumerations of error code for Application. - */ -typedef enum -{ - APP_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */ - APP_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid parameter */ - APP_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */ - APP_ERROR_INVALID_CONTEXT = TIZEN_ERROR_NOT_PERMITTED, /**< Invalid application context */ - APP_ERROR_NO_SUCH_FILE = TIZEN_ERROR_NO_SUCH_FILE, /**< No such file or directory */ - APP_ERROR_ALREADY_RUNNING = TIZEN_ERROR_ALREADY_IN_PROGRESS, /**< Application is already running */ -} app_error_e; - - /** - * @brief Enumerations of the device orientation. + * @addtogroup CAPI_APPLICATION_MODULE + * @{ */ -typedef enum -{ - APP_DEVICE_ORIENTATION_0 = 0, /**< The device is oriented in natural position */ - APP_DEVICE_ORIENTATION_90 = 90, /**< The device's left side is at the top */ - APP_DEVICE_ORIENTATION_180 = 180, /**< The device is upside down */ - APP_DEVICE_ORIENTATION_270 = 270, /**