diff options
Diffstat (limited to 'digital-watch/inc/digital-watch.h')
-rw-r--r-- | digital-watch/inc/digital-watch.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/digital-watch/inc/digital-watch.h b/digital-watch/inc/digital-watch.h new file mode 100644 index 0000000..9ad6c25 --- /dev/null +++ b/digital-watch/inc/digital-watch.h @@ -0,0 +1,49 @@ +/* + * Samsung API + * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * 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. + */ + +#ifndef __DIGITAL_WATCH_H__ +#define __DIGITAL_WATCH_H__ + +#include <app.h> +#include <system_settings.h> +#include <efl_extension.h> +#include <glib.h> +#include <tizen.h> +#include <watch_app.h> +#include <watch_app_efl.h> +#include "log.h" + + +#if !defined(PACKAGE) +#define PACKAGE "org.example.digitalwatch" +#endif + +#define IMG_DIR "/opt/usr/apps/org.example.digitalwatch/res/images/" +#define EDJ_FILE_PATH "/opt/usr/apps/org.example.digitalwatch/res/edje/digitalwatch.edj" + +#define BUFFER_LENGTH 80 + +typedef struct appdata{ + Evas_Object* win; + Evas_Object* layout; + Evas_Object* bg; + Evas_Object* button; + int w; + int h; +} appdata_s; + +#endif /* __DIGITAL_WATCH_H__ */ |