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 33 34 35
|
/*
* xxx.cs
*
* Author(s):
* Ewen Cheslack-Postava <echeslack@gmail.com>
* Larry Ewing <lewing@novell.com>
* Stephane Delcroix <stephane@delcroix.org>
*
* Copyright (c) 2005-2009 Novell, Inc.
*
* This is open source software. See COPYING for details.
*/
using System;
using System.Runtime.InteropServices;
namespace GPhoto2
{
[StructLayout(LayoutKind.Sequential)]
public unsafe struct CameraFilePath
{
[MarshalAs(UnmanagedType.ByValTStr, SizeConst=128)] string name;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst=1024)] string folder;
public string Name {
get { return name; }
set { name = value; }
}
public string Folder {
get { return folder; }
set { folder = value; }
}
}
}
|