コード例 #1
0
    private static bool OnIdleStartImport()
    {
        Db db = new Db(db_path, true);

        ImportCommand command = new ImportCommand();

        command.ImportFromPath(db.Photos, directory_path, true);

        Application.Quit();
        return(false);
    }
コード例 #2
0
	private static bool OnIdleStartImport ()
	{
		Db db = new Db (db_path, true);

		ImportCommand command = new ImportCommand ();

		command.ImportFromPath (db.Photos, directory_path, true);

		Application.Quit ();
		return false;
	}