~ubuntu-branches/ubuntu/trusty/pcmanfm/trusty-proposed

« back to all changes in this revision

Viewing changes to src/vfs/vfs-volume-nohal.c

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Lee
  • Date: 2008-09-26 10:19:20 UTC
  • mfrom: (4.1.5 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080926101920-cfldybkmwgwrtv9u
Tags: 0.5-3
* Correct spellings,  03_correct_spelling.dpatch (Closes:498794) 
* Code in some files are taken from other projects, added these
  informations into copyright file. (Closes:499678)
* Applied 04_defaut_terminal.dpatch to support x-terminal-emulator
  alternative. (Closes:497494) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
*  C Implementation: vfs-volume
 
3
*
 
4
* Description:
 
5
*
 
6
*
 
7
* Author: Hong Jen Yee (PCMan) <pcman.tw (AT) gmail.com>, (C) 2006
 
8
*
 
9
* Copyright: See COPYING file that comes with this distribution
 
10
*
 
11
*/
 
12
 
 
13
#ifdef HAVE_CONFIG_H
 
14
#include <config.h>
 
15
#endif
 
16
 
 
17
#include "vfs-volume.h"
 
18
#include "glib-mem.h"
 
19
#include <glib/gi18n.h>
 
20
#include <string.h>
 
21
 
 
22
struct _VFSVolume
 
23
{
 
24
    char* disp_name;
 
25
};
 
26
 
 
27
gboolean vfs_volume_init()
 
28
{
 
29
    return TRUE;
 
30
}
 
31
 
 
32
gboolean vfs_volume_finalize()
 
33
{
 
34
    return TRUE;
 
35
}
 
36
 
 
37
const GList* vfs_volume_get_all_volumes()
 
38
{
 
39
    return NULL;
 
40
}
 
41
 
 
42
void vfs_volume_add_callback( VFSVolumeCallback cb, gpointer user_data )
 
43
{}
 
44
 
 
45
void vfs_volume_remove_callback( VFSVolumeCallback cb, gpointer user_data )
 
46
{}
 
47
 
 
48
gboolean vfs_volume_mount( VFSVolume* vol, GError** err )
 
49
{
 
50
    return TRUE;
 
51
}
 
52
 
 
53
gboolean vfs_volume_umount( VFSVolume *vol, GError** err )
 
54
{
 
55
    return TRUE;
 
56
}
 
57
 
 
58
gboolean vfs_volume_eject( VFSVolume *vol, GError** err )
 
59
{
 
60
    return TRUE;
 
61
}
 
62
 
 
63
const char* vfs_volume_get_disp_name( VFSVolume *vol )
 
64
{
 
65
    return NULL;
 
66
}
 
67
 
 
68
const char* vfs_volume_get_mount_point( VFSVolume *vol )
 
69
{
 
70
    return NULL;
 
71
}
 
72
 
 
73
const char* vfs_volume_get_device( VFSVolume *vol )
 
74
{
 
75
    return NULL;
 
76
}
 
77
 
 
78
const char* vfs_volume_get_fstype( VFSVolume *vol )
 
79
{
 
80
    return NULL;
 
81
}
 
82
 
 
83
const char* vfs_volume_get_icon( VFSVolume *vol )
 
84
{
 
85
    return NULL;
 
86
}
 
87
 
 
88
gboolean vfs_volume_is_removable( VFSVolume *vol )
 
89
{
 
90
    return FALSE;
 
91
}
 
92
 
 
93
gboolean vfs_volume_is_mounted( VFSVolume *vol )
 
94
{
 
95
    return FALSE;
 
96
}
 
97
 
 
98
gboolean vfs_volume_requires_eject( VFSVolume *vol )
 
99
{
 
100
    return FALSE;
 
101
}
 
102
 
 
103