Deprecated

mtp

Bindings to libmtp

Latest on Hackage:0.1.1.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

LGPL licensed by Joachim Fasting
Maintained by Joachim Fasting

About

A FFI binding to libmtp, an implementation of the Media Transfer Protocol.

Getting

Building

The preferred method of building is using cabal-install:

$ cd hsmtp
$ cabal configure
$ cabal build
$ cabal install

Usage

> import qualified MTP
> main = do
>     MTP.init
>     MTP.withFirstDevice MTP.getDeviceVersion

Author

Joachim Fasting \

Licence

LGPL version 2.1 (see COPYING)

Changes

* version 0.1.1.1, 2010-03-13
Internal:
- Reimplemented MTPHandle, now supports closing
- Check if handle is usable before using it

* version 0.1.1.0, 2010-03-10
External:
- Add binding to LIBMTP_Init
- Add missing filetypes
- Add findFileType
Internal:
- Modularise

* version 0.1.0.2, 2010-01-26
- Cabal updates

* version 0.1.0.1, 2010-01-18
- Fix build warnings reported by GHC 6.12

* version 0.1.0.0, 2009-12-25
- First entry
Depends on:
Used by 1 package:
comments powered byDisqus