Updated the GetStorageInformation to correctly handle N returned StorageInfo structs

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/bindings/libgphoto2-sharp@10653 67ed7778-7388-44ab-90cf-0a291f65f57c
* libgphoto2-sharp.mdp, src/Base/CameraWidget.cs,
  src/Base/PortInfoList.cs, src/Base/CameraFilesystem.cs,
  src/Base/CameraList.cs, src/Base/Object.cs, src/Base/Camera.cs,
  src/Base/CameraFile.cs, src/Base/CameraAbilitiesList.cs: Updated
  methods to use the Error.CheckError method instead of manually
  doing if(Error.IsError()) throw ErrorException(). Added calls to
  Error.CheckError() where they were missing previously.

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/bindings/libgphoto2-sharp@10654 67ed7778-7388-44ab-90cf-0a291f65f57c
* src/Base/Camera.cs: Made the interop methods private as opposed to
  internal - no need to be visible outside the class scope.

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/bindings/libgphoto2-sharp@10655 67ed7778-7388-44ab-90cf-0a291f65f57c
* src/Base/Context.cs: Added safety check to make sure the context was
  actually created

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/bindings/libgphoto2-sharp@10656 67ed7778-7388-44ab-90cf-0a291f65f57c
* src/Base/Context.cs: Fixed typo in error message.

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/bindings/libgphoto2-sharp@10657 67ed7778-7388-44ab-90cf-0a291f65f57c
* src/Base/PortInfoList.cs, src/Base/CameraFilesystem.cs,
  src/Base/CameraList.cs, src/Base/Port.cs, src/Base/Object.cs,
  src/Base/Camera.cs, src/Base/CameraFile.cs,
  src/Base/CameraAbilitiesList.cs: Removed the old 'Cleanup' method
  and replaced it with the standard Dispose(bool) pattern.
* src/Base/Context.cs: Removed the old 'Cleanup' method and replaced it
  with the standard Dispose(bool) pattern. Changed the error code to
  GeneralError.

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/bindings/libgphoto2-sharp@10658 67ed7778-7388-44ab-90cf-0a291f65f57c
* src/Base/Camera.cs: Added new overload for Init which allows the user
  to connect to a specific device. Also added XML comments 

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/bindings/libgphoto2-sharp@10662 67ed7778-7388-44ab-90cf-0a291f65f57c
* src/Camera.cs, src/Base/CameraWidget.cs, src/Base/PortInfoList.cs,
  src/Base/CameraFilesystem.cs, src/Base/CameraList.cs,
  src/Base/Context.cs, src/Base/Port.cs, src/Base/ErrorCodes.cs,
  src/Base/CameraFile.cs, src/Base/CameraAbilitiesList.cs: Made all
  the interop methods private instead of internal

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/bindings/libgphoto2-sharp@10663 67ed7778-7388-44ab-90cf-0a291f65f57c
* src/Base/PortInfoList.cs, src/Base/CameraFilesystem.cs,
  src/Base/PortInfo.cs, src/Base/Port.cs, src/Base/Camera.cs,
  src/Base/CameraFile.cs, src/Base/CameraAbilitiesList.cs: Replaced
  the only use of unsafe code with the safe equivalent. Removed all
  references to 'unsafe' where the enclosed block wasn't using unsafe
  code. Project now compiles without unsafe code.

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/bindings/libgphoto2-sharp@10664 67ed7778-7388-44ab-90cf-0a291f65f57c
* libgphoto2-sharp.mdp: Turned off unsafe code in the project file.

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/bindings/libgphoto2-sharp@10665 67ed7778-7388-44ab-90cf-0a291f65f57c
* src/Base/CameraWidget.cs: Added xml comments. fixed tab v space
  issues

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/bindings/libgphoto2-sharp@10666 67ed7778-7388-44ab-90cf-0a291f65f57c
* libgphoto2-sharp.mdp: Removed useless files
* src/Camera.cs: Cosmetic
* src/Detector.cs: Removed obsolete file

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/bindings/libgphoto2-sharp@10667 67ed7778-7388-44ab-90cf-0a291f65f57c
* CameraList.cs: Added comments

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/bindings/libgphoto2-sharp@10668 67ed7778-7388-44ab-90cf-0a291f65f57c
* CameraFilesystem.cs: Added xml comments
* Camera.cs: Fixed a leak. The native array needs to be free'ed.
* CameraAbilitiesList.cs: Added the flags attribute to the enums to
  make it clearer that they are bitfields

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/bindings/libgphoto2-sharp@10669 67ed7778-7388-44ab-90cf-0a291f65f57c
* src/File.cs: Cosmetic changes to the existing file class.
* src/TestGphoto2Sharp.cs: Removed old file
* src/FileSystem.cs: Created a wrapper class for the
  FileSystem/StorageInfo structs. No methods implemented.
* src/Camera.cs: Created a wrapper class for 'Camera' with a handful of
  basic methods/properties
* src/Abilities.cs: Created a wrapper class for CameraAbilities. All
  camera abilities, file operations and folder operations are exposed
  as boolean properties.
* libgphoto2-sharp.mds, Sample, Sample/AssemblyInfo.cs, Sample/Main.cs,
  Sample/Sample.mdp: Added a sample console application to
  demonstrate API usage

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/bindings/libgphoto2-sharp@10670 67ed7778-7388-44ab-90cf-0a291f65f57c
The camera will always be set to null after it has been disconnected.

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/bindings/libgphoto2-sharp@10671 67ed7778-7388-44ab-90cf-0a291f65f57c
* Sample/Main.cs: Removed accidently committed testcase for a bug.
* src/Camera.cs: Also checking to make sure the object hasn't been
  disposed.

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/bindings/libgphoto2-sharp@10672 67ed7778-7388-44ab-90cf-0a291f65f57c
changing to using upstream shamrock macros

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/bindings/libgphoto2-sharp@10673 67ed7778-7388-44ab-90cf-0a291f65f57c
remove copy of shamrock dir

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/bindings/libgphoto2-sharp@10674 67ed7778-7388-44ab-90cf-0a291f65f57c
use svn:externals http://svn.gnome.org/svn/banshee/trunk/banshee/build/m4/shamrock

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/bindings/libgphoto2-sharp@10675 67ed7778-7388-44ab-90cf-0a291f65f57c