Announcement

Collapse
No announcement yet.

Radio DLL and IsSafe in C#

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment


    • #3
      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..

      Comment

      Working...
      X