Hook Request

This forum is for programmers who have questions about the source code.
Post Reply
User avatar
mopensoft
Posts: 146
Joined: Tue Dec 04, 2012 3:33 pm
Location: Melbourne, Australia
Contact:

Hook Request

Post by mopensoft » Tue Feb 23, 2016 9:00 pm

Could you please add 4 hooks below? Thanks. M

Code: Select all

public static bool SendSmsSingle(long patNum,string wirelessPhone,string message,long clinicNum) {
            if (Plugins.HookMethod(null, "SmsToMobiles.SendSmsSingle_start", patNum, wirelessPhone, message, clinicNum))
                return true;

Code: Select all

public static bool SendSms(List<SmsToMobile> listMessages) {
            if (Plugins.HookMethod(null, "SmsToMobiles.SendSms_start", listMessages))
                return true;

Code: Select all

public static bool IsIntegratedTextingEnabled() {
            if (Plugins.HookMethod(null, "SmsPhones.IsIntegratedTextingEnabled_start"))
                return true;

Code: Select all

public static bool IsTextingEnabled(long clinicNum) {
            if (Plugins.HookMethod(null, "Clinics.IsTextingEnabled_start", clinicNum))
                return true;

allends
Posts: 235
Joined: Fri Aug 23, 2013 11:29 am

Re: Hook Request

Post by allends » Thu Feb 25, 2016 7:02 am

These hooks have been added to the program and will be available with the release of 16.1.3.
Allen
Open Dental Software
http://www.opendental.com

Post Reply