~ubuntu-branches/ubuntu/trusty/blender/trusty

« back to all changes in this revision

Viewing changes to source/blender/blenlib/BLI_callbacks.h

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-03-06 12:08:47 UTC
  • mfrom: (1.5.1) (14.1.8 experimental)
  • Revision ID: package-import@ubuntu.com-20130306120847-frjfaryb2zrotwcg
Tags: 2.66a-1ubuntu1
* Resynchronize with Debian (LP: #1076930, #1089256, #1052743, #999024,
  #1122888, #1147084)
* debian/control:
  - Lower build-depends on libavcodec-dev since we're not
    doing the libav9 transition in Ubuntu yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
 
57
57
typedef struct {
58
58
        struct bCallbackFuncStore *next, *prev;
59
 
        void (* func)(struct Main *, struct ID *, void *arg);
 
59
        void (*func)(struct Main *, struct ID *, void *arg);
60
60
        void *arg;
61
61
        short alloc;
62
62
} bCallbackFuncStore;
63
63
 
64
64
 
65
 
void BLI_exec_cb(struct Main *main, struct ID *self, eCbEvent evt);
66
 
void BLI_add_cb(bCallbackFuncStore *funcstore, eCbEvent evt);
 
65
void BLI_callback_exec(struct Main *main, struct ID *self, eCbEvent evt);
 
66
void BLI_callback_add(bCallbackFuncStore *funcstore, eCbEvent evt);
67
67
 
68
 
void BLI_cb_init(void);
69
 
void BLI_cb_finalize(void);
 
68
void BLI_callback_global_init(void);
 
69
void BLI_callback_global_finalize(void);
70
70
 
71
71
 
72
72
/* This is blenlib internal only, unrelated to above */
73
 
void callLocalErrorCallBack(const char* msg);
 
73
void callLocalErrorCallBack(const char *msg);
74
74
 
75
75
#endif /* __BLI_CALLBACKS_H__ */