Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do these two lines of code actually do anything? #4

Open
ewmailing opened this issue May 1, 2018 · 0 comments
Open

Do these two lines of code actually do anything? #4

ewmailing opened this issue May 1, 2018 · 0 comments

Comments

@ewmailing
Copy link

In DnssdServiceWatcher.h, there are two lines I am struggling to understand what they do:


    // C++ dsssd service changed callback
    typedef std::function<void(DnssdServiceWatcher^ watcher, DnssdServiceUpdateType update, DnssdServiceInfoPtr info)> DnssdServiceChangedCallbackType;

    // WinRT Delegate
    delegate void DnssdServiceUpdateHandler(DnssdServiceWatcher^ sender, DnssdServiceUpdateType update, DnssdServiceInfoPtr info);

I commented them out, and the program still seemed to work as they don't seem to be directly used in the codebase. But I'm wondering if I'm missing something because there is a lot I still need to learn about WinRT and C++CX.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant