
/*******************************************
* class: SlideShow.MyDataProvider
*******************************************/
SlideShow.MyDataProvider = function(control, options)
{
    /// <summary>Provides custom album/slide data.</summary>
    /// <param name="control">The Slide.Show control.</param>
    /// <param name="options">The options for the provider.</param>
    
    SlideShow.MyDataProvider.base.constructor.call(this, control);
    
    SlideShow.merge(this.options,
    {
        // add configurable options here...
    });
    
    this.setOptions(options);
};
 
SlideShow.extend(SlideShow.DataProvider, SlideShow.MyDataProvider,
{
    getData: function(dataHandler)
    {
        /// <summary>Retrieves the data and calls the specified event handler (with the data).</summary>
        /// <param name="dataHandler">The event handler to be called after the data is retrieved.</param>
 
        var data = { album:gallery_category };
       
        dataHandler(this, { data: data });
    }
});
