TraktPlugin.ConfigConnector.GetHome C# (CSharp) Méthode

GetHome() public méthode

Returns the items for the plugin
public GetHome ( string &strButtonText, string &strButtonImage, string &strButtonImageFocus, string &strPictureImage ) : bool
strButtonText string The Buttons Text
strButtonImage string The Buttons Image
strButtonImageFocus string The Buttons Focused Image
strPictureImage string The Picture Image
Résultat bool
        public bool GetHome(out string strButtonText, out string strButtonImage, out string strButtonImageFocus, out string strPictureImage)
        {
            strButtonText = PluginName();
            strButtonImage = string.Empty;
            strButtonImageFocus = string.Empty;
            strPictureImage = "hover_trakt.png";
            // dont display on home screen if skin doesn't exist.
            return File.Exists(GUIGraphicsContext.Skin + @"\Trakt.xml");
        }