| Index: shell/src/SubscriptionsCommand.cpp |
| =================================================================== |
| --- a/shell/src/SubscriptionsCommand.cpp |
| +++ b/shell/src/SubscriptionsCommand.cpp |
| @@ -1,16 +1,16 @@ |
| #include <iostream> |
| #include <sstream> |
| #include "SubscriptionsCommand.h" |
| namespace |
| { |
| - typedef std::vector<AdblockPlus::Subscription*> SubscriptionList; |
| + typedef std::vector<AdblockPlus::SubscriptionPtr> SubscriptionList; |
| void ShowSubscriptionList(const SubscriptionList& subscriptions) |
| { |
| for (SubscriptionList::const_iterator it = subscriptions.begin(); |
| it != subscriptions.end(); it++) |
| std::cout << (*it)->GetProperty("title", "(no title)") << " - " << (*it)->GetProperty("url", "") << std::endl; |
| } |
| } |