summaryrefslogtreecommitdiff
path: root/src/bin/e_fm_device.h
blob: 5a6ed0dd2c2e78887b5d352eacfd5b1fc583595d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef E_FM_DEVICE_H
#define E_FM_DEVICE_H

#include "e.h"
#include "e_fm.h"

EAPI void         e_fm2_device_storage_add(E_Storage *s);
EAPI void         e_fm2_device_storage_del(E_Storage *s);
EAPI E_Storage   *e_fm2_device_storage_find(const char *udi);

EAPI void         e_fm2_device_volume_add(E_Volume *s);
EAPI void         e_fm2_device_volume_del(E_Volume *s);
EAPI E_Volume    *e_fm2_device_volume_find(const char *udi);
EAPI const char  *e_fm2_device_volume_mountpoint_get(E_Volume *v);

EAPI void         e_fm2_device_mount_add(E_Volume *v, const char *mountpoint);
EAPI void         e_fm2_device_mount_del(E_Volume *v);
EAPI E_Fm2_Mount *e_fm2_device_mount_find(const char *path);
EAPI E_Fm2_Mount *e_fm2_device_mount(E_Volume *v,
                                  Ecore_Cb mount_ok, Ecore_Cb mount_fail, 
                                  Ecore_Cb unmount_ok, Ecore_Cb unmount_fail, 
                                  void *data);
EAPI void         e_fm2_device_mount_fail(E_Volume *v);
EAPI void         e_fm2_device_unmount(E_Fm2_Mount *m);
EAPI void         e_fm2_device_unmount_fail(E_Volume *v);

EAPI void         e_fm2_device_show_desktop_icons(void);
EAPI void         e_fm2_device_hide_desktop_icons(void);

EAPI Eina_List   *e_fm2_device_volume_list_get(void);

#endif