Results 1 to 3 of 3

Thread: Radio DLL and IsSafe in C#

  1. #1
    Newbie
    Join Date
    Aug 2006
    Posts
    51

    Radio DLL and IsSafe in C#

    Is there some documentation anywhere on an exposed interface so I can write a radio dll for the HQCT (so i don't have to make it a digital mod)

    Also, I can't figure out how to get my dll to be issafe. I added the Module_IsSafe event handler and made it always return true, but its still not working...

    Code:
                module = app.CreateModule("HQCTModule");
                module.IsSafe += new StreetDeck.IModuleEvents_IsSafeEventHandler(Module_IsSafe);
    Then..
    Code:
            public bool Module_IsSafe()
            {
                return true;
            }
    Also, is there some generic event that I can capture that will allow me to turn off the radio when someone goes to the "music" section?

  2. #2
    FLAC strohj's Avatar
    Join Date
    Aug 2004
    Location
    Pearland
    Posts
    1,345
    cant you write a digitalmod and just include your DLL ? its easy enough to modify the skin to go to your digitalmod instead of the built-in radio
    Pentium 4m 1.5GHz|MB896|Roadie Extreme|XM-Direct|Rikaline 6010|T-View 7"|Streetdeck|160gb Western Digital|1Gb DDR2-533 Ram

  3. #3
    Newbie
    Join Date
    Aug 2006
    Posts
    51
    Yea, I've already done that.. but its much cooler to write an "R" with your finger and have the module come up.

    I wish we could override gestures in the config. *hint hint SD developers!*

    As for the Is_Safe thing.. I can't get my module to show up being safe no matter what I do..

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •