mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-04-28 11:24:48 +00:00
18 lines
414 B
Vala
18 lines
414 B
Vala
namespace Seafile {
|
|
|
|
public class File : Object {
|
|
|
|
// _id is for fast access from c code. id is for
|
|
// vala to automatically generate a property. Note,
|
|
// if a Vala property is start with _, it is not
|
|
// translated into a GObject property.
|
|
public char _id[41];
|
|
public string id {
|
|
get { return (string)_id; }
|
|
set { Posix.memcpy(_id, id, 40); _id[40] = '\0'; }
|
|
}
|
|
|
|
public uint64 size;
|
|
}
|
|
|
|
} // namespace |