application/application.h

changeset 6
09ac07345656
parent 3
f154867f54dc
child 7
905ac52c910f
equal deleted inserted replaced
5:83263002816f 6:09ac07345656
24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 * POSSIBILITY OF SUCH DAMAGE. 26 * POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 #ifndef IDAV_APPLICATION_H
30 #define IDAV_APPLICATION_H
31
29 #include <ui/ui.h> 32 #include <ui/ui.h>
30 33
31 #include <stdio.h> 34 #include <stdio.h>
32 #include <stdlib.h> 35 #include <stdlib.h>
33 36
34 #include <libidav/webdav.h> 37 #include <libidav/webdav.h>
35 #include <libidav/config.h> 38 #include <libidav/config.h>
39
40 #ifdef __cplusplus
41 extern "C" {
42 #endif
36 43
37 44
38 typedef struct DavApp { 45 typedef struct DavApp {
39 DavConfig *dav_config; 46 DavConfig *dav_config;
40 UiList* repos; 47 UiList* repos;
54 */ 61 */
55 void application_create_menu(void); 62 void application_create_menu(void);
56 63
57 64
58 DavApp* application_create_app_document(void); 65 DavApp* application_create_app_document(void);
66
67 void application_update_repolist(DavApp *app);
68
69 #ifdef __cplusplus
70 }
71 #endif
72
73 #endif /* IDAV_APPLICATION_H */

mercurial