diff options
Diffstat (limited to 'lib-common/inc/ContactsThumbnail.h')
-rw-r--r-- | lib-common/inc/ContactsThumbnail.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/lib-common/inc/ContactsThumbnail.h b/lib-common/inc/ContactsThumbnail.h new file mode 100644 index 0000000..dedaa43 --- /dev/null +++ b/lib-common/inc/ContactsThumbnail.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd All Rights Reserved + * + * 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/licenses/LICENSE-2.0 + * + * 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 _CONTACTS_THUMBNAIL_H_ +#define _CONTACTS_THUMBNAIL_H_ + + +#include <Elementary.h> + +enum ThumbnailType { + THUMBNAIL_166, + THUMBNAIL_98, + THUMBNAIL_240 +}; + +Evas_Object *createThumbnail(Evas_Object *parent, ThumbnailType thumbnailType, const char *thumbnailPath, bool setSize=false); + + +#endif /* _CONTACTS_THUMBNAIL_H_ */ |