summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_interface_fileselector.h
blob: 31b2bded5ab45d9ebd22ef7bd66d7b2eb544fb1a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef ELM_INTEFARCE_FILESELECTOR_H
#define ELM_INTEFARCE_FILESELECTOR_H

#include "elm_interface_fileselector.eo.h"

#define ELM_FILESELECTOR_INTERFACE_CHECK(obj, ...) \
  if (EINA_UNLIKELY(!eo_isa(obj, ELM_INTERFACE_FILESELECTOR_INTERFACE))) \
    { \
       ERR("The object (%p) doesn't implement the Elementary fileselector" \
            " interface", obj); \
       if (getenv("ELM_ERROR_ABORT")) abort(); \
       return __VA_ARGS__; \
    }

#endif