Sorauta-Device-USB-Synchronizer version 0.01
============================

The README is used to introduce the module and provide instructions on
how to install the module, any machine dependencies it may have (for
example C compilers and installed libraries) and any other information
that should be provided before the module is installed.

A README file is required for CPAN modules since CPAN extracts the
README file from a module distribution so that people browsing the
archive can use it get an idea of the modules uses. It is usually a
good idea to provide version information here so that people can
decide whether fixes for the module are worth downloading.

INSTALLATION

To install this module type the following:

  perl Makefile.PL
  make
  make test
  make install

HOW TO USE

basic use:
 use Sorauta::Device::USB::Synchronizer;

 my $TARGET_DIR_PATH = '/Users/user/Desktop/test_usb_synchronizer';
 my $SYNCHRONIZED_DIR_LIST = ["hoge", "fuga"];
 my $OS = 'Mac';
 my $INTERVAL_TIME = 0;
 my $ALLOW_OVERRIDE_FILE = 0;
 my $DEBUG = 1;
 my $CONNECTED_EVENT_REF = sub {
   my($self, $driver_path) = @_;
   print "connected!!";
 };
 my $UPDATED_EVENT_REF = sub {
   my $self = shift;
   print "updated!!";
 };

 Sorauta::Device::USB::Synchronizer->new({
   target_dir_path       => $TARGET_DIR_PATH,
   synchronized_dir_list => $SYNCHRONIZED_DIR_LIST,
   os                    => $OS,
   interval_time         => $INTERVAL_TIME,
   allow_override_file   => $ALLOW_OVERRIDE_FILE,
   debug                 => $DEBUG,
   connected_event_ref   => $CONNECTED_EVENT_REF,
   updated_event_ref     => $UPDATED_EVENT_REF,
 })->execute;

DEPENDENCIES

This module requires these other modules and libraries:

Data::Dumper
LWP::UserAgent
File::Copy
Sorauta::Utility

COPYRIGHT AND LICENCE

Put the correct copyright and licence information here.

Copyright (C) 2012 by Yuki ANAI

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.12.3 or,
at your option, any later version of Perl 5 you may have available.