~ubuntu-branches/ubuntu/vivid/akonadi/vivid

« back to all changes in this revision

Viewing changes to server/src/handler.cpp

  • Committer: Package Import Robot
  • Author(s): Rohan Garg, Rohan Garg, Philip Muškovac
  • Date: 2013-06-13 08:46:15 UTC
  • mfrom: (1.1.42)
  • Revision ID: package-import@ubuntu.com-20130613084615-e37v5pdoe2p2xu9d
Tags: 1.9.80-0ubuntu1
[ Rohan Garg ]
* New upstream release
  - Update symbols
  - Install asapcat with akonadi-server for now
  - Install notificationmessagev2_p.h with -dev package
  - Refresh disable_dbus_requiring_tests.diff

[ Philip Muškovac ]
* libkonadi-dev needs to depend on akonadi-server for the dbus service 

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
Handler * Handler::findHandlerForCommandNonAuthenticated( const QByteArray & command )
75
75
{
76
76
    // allowed are LOGIN
77
 
    if ( command == "LOGIN" )
 
77
    if ( command == AKONADI_CMD_LOGIN )
78
78
        return new Login();
79
79
 
80
80
    return 0;
83
83
Handler * Handler::findHandlerForCommandAlwaysAllowed( const QByteArray & command )
84
84
{
85
85
    // allowed commands CAPABILITY and LOGOUT
86
 
    if ( command == "LOGOUT" )
 
86
    if ( command == AKONADI_CMD_LOGOUT )
87
87
        return new Logout();
88
 
    if ( command == "CAPABILITY" )
 
88
    if ( command == AKONADI_CMD_CAPABILITY )
89
89
        return new Capability();
90
90
    return 0;
91
91
}